aboutsummaryrefslogtreecommitdiff
path: root/misc/compat4x
diff options
context:
space:
mode:
authorPav Lucistnik <pav@FreeBSD.org>2009-02-12 16:46:23 +0000
committerPav Lucistnik <pav@FreeBSD.org>2009-02-12 16:46:23 +0000
commitaf13aa1d5ade82c77983431447fe548a4a2a8b03 (patch)
tree67d9a52057aeec6fe5dea083c10d121698bcf41e /misc/compat4x
parent7ada5affed049fa6c975d47ea65bb3fd4e834e2f (diff)
downloadports-af13aa1d5ade82c77983431447fe548a4a2a8b03.tar.gz
ports-af13aa1d5ade82c77983431447fe548a4a2a8b03.zip
- Simplify ldconfig handling
Notes
Notes: svn path=/head/; revision=228123
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: