summaryrefslogtreecommitdiff
path: root/mk/emulator/linux.mk
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>2017-08-21 12:49:16 +0000
committerjlam <jlam@pkgsrc.org>2017-08-21 12:49:16 +0000
commit9ea50b9bd32bf5a8202a1ec9578b299f46c6be87 (patch)
tree31289f3ebd6fd22ce2b1d97a222f56f921a4a9f6 /mk/emulator/linux.mk
parentb304efd1c5335f701a7c4bf75106d80400d76045 (diff)
downloadpkgsrc-9ea50b9bd32bf5a8202a1ec9578b299f46c6be87.tar.gz
mk/emulator: Move Linux shlibs task settings to package Makefiles.
Move the definitions of LDCONFIG_ADD_CMD and LDCONFIG_REMOVE_CMD into suse_linux/emulator.mk. The commands are specific to the Linux installed, including the path to ldconfig(8), so localize them to the package that provides it. Move the definition of RUN_LDCONFIG out of the emulator framework and into the packages that use them as RUN_LDCONFIG is meant to be a package-settable variable. Fix the path to the Linux ldconfig(8) that was used on FreeBSD to brand the ELF format that has been incorrect for over 10 years. In the suse_base packages, explicitly set LDCONFIG_REMOVE_CMD to ${TRUE} since the ldconfig(8) command is provided by that package and can't be invoked at the postremove stage because it has already been deleted from the system by then. Bump the PKGREVISION of all the suse_base packages because the install scripts have changed. Bump the PKGREVISIONs of the darwin_lib and osf1_lib packages because the install scripts no longer try to run ldconfig(8), which is not provided in either OpenDarwin or OSF/1.
Diffstat (limited to 'mk/emulator/linux.mk')
-rw-r--r--mk/emulator/linux.mk7
1 files changed, 1 insertions, 6 deletions
diff --git a/mk/emulator/linux.mk b/mk/emulator/linux.mk
index 8d03318a148..0df0fe13ae8 100644
--- a/mk/emulator/linux.mk
+++ b/mk/emulator/linux.mk
@@ -1,4 +1,4 @@
-# $NetBSD: linux.mk,v 1.29 2015/04/12 12:21:29 wiz Exp $
+# $NetBSD: linux.mk,v 1.30 2017/08/21 12:49:17 jlam Exp $
#
# Linux binary emulation framework
#
@@ -127,8 +127,3 @@ EMULSUBDIR= # empty
DEPENDS_${EMUL_DISTRO}.${_mod_}= # empty
. endfor
.endif
-
-.if !defined(EMUL_IS_NATIVE)
-LDCONFIG_ADD_CMD?= ${EMULDIR}/sbin/ldconfig -r ${EMULDIR}
-LDCONFIG_REMOVE_CMD?= ${EMULDIR}/sbin/ldconfig -r ${EMULDIR}
-.endif