diff options
author | pav <pav@FreeBSD.org> | 2009-02-13 00:46:23 +0800 |
---|---|---|
committer | pav <pav@FreeBSD.org> | 2009-02-13 00:46:23 +0800 |
commit | dd54e702b369ec8748da6a90659acb155d74504f (patch) | |
tree | d85287a4386722791bf91220cd77174b84ddfe89 /misc/compat4x | |
parent | e4f1e0d91d16bfd24a5076b1194603e8aebf73aa (diff) | |
download | freebsd-ports-gnome-dd54e702b369ec8748da6a90659acb155d74504f.tar.gz freebsd-ports-gnome-dd54e702b369ec8748da6a90659acb155d74504f.tar.zst freebsd-ports-gnome-dd54e702b369ec8748da6a90659acb155d74504f.zip |
- Simplify ldconfig handling
Diffstat (limited to 'misc/compat4x')
-rw-r--r-- | misc/compat4x/Makefile | 14 |
1 files changed, 2 insertions, 12 deletions
diff --git a/misc/compat4x/Makefile b/misc/compat4x/Makefile index 8ebba6459b5f..1dcafed20930 100644 --- a/misc/compat4x/Makefile +++ b/misc/compat4x/Makefile @@ -23,12 +23,9 @@ RUN_DEPENDS= ${LOCALBASE}/share/compat/locale/UTF-8/LC_CTYPE:${PORTSDIR}/misc/lo WRKSRC= ${WRKDIR}/usr/lib/compat NO_BUILD= yes -USE_LDCONFIG= yes -LDCONFIG_DIRS= %%PREFIX%%/lib/compat TARGET_DIR= ${PREFIX}/lib/compat TARGET32_DIR= ${PREFIX}/lib32/compat LDCONFIG_LIB32= ${LDCONFIG} -32 -USE_LDCONFIG= ${TARGET_DIR} .include <bsd.port.pre.mk> @@ -63,9 +60,8 @@ PLIST_SUB+= I386_ONLY="@comment " PLIST_SUB+= AMD64_ONLY="" AMD64NA="@comment " PLIST_SUB+= LDCONFIG_LIB32="${LDCONFIG} -32" USE_LDCONFIG32= ${TARGET32_DIR} -.undef USE_LDCONFIG -USE_LDCONFIG= no .else +USE_LDCONFIG= ${TARGET_DIR} PLIST_SUB+= AMD64_ONLY="@comment " AMD64NA="" .endif @@ -109,13 +105,7 @@ do-install: ${LN} -sf ${lib}.compat4x ${TARGET_DIR}/${lib} .endfor -# Include to automatic install file in libdata/ldconfig{,32} -.include "${PORTSDIR}/misc/ldconfig_compat/bsd.ldconfig.mk" - -post-install: install-ldconfig-file -.if ${ARCH} == amd64 - ${LDCONFIG} -32 -m ${TARGET32_DIR} -.endif +post-install: @${CAT} ${PKGMESSAGE} pre-clean: |