aboutsummaryrefslogtreecommitdiffstats
path: root/misc/compat4x
diff options
context:
space:
mode:
authorpav <pav@FreeBSD.org>2009-02-13 00:46:23 +0800
committerpav <pav@FreeBSD.org>2009-02-13 00:46:23 +0800
commitdd54e702b369ec8748da6a90659acb155d74504f (patch)
treed85287a4386722791bf91220cd77174b84ddfe89 /misc/compat4x
parente4f1e0d91d16bfd24a5076b1194603e8aebf73aa (diff)
downloadfreebsd-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/Makefile14
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: