summaryrefslogtreecommitdiff
path: root/mk
diff options
context:
space:
mode:
authorsbd <sbd@pkgsrc.org>2012-01-18 00:37:46 +0000
committersbd <sbd@pkgsrc.org>2012-01-18 00:37:46 +0000
commitc27b72befa07f87fc941566863c3c2ca0b59de97 (patch)
tree588f98247f30683e61c0150d581061c7f6994c6d /mk
parent93410cd9ebe60b8422367d672748a21101fa3c86 (diff)
downloadpkgsrc-c27b72befa07f87fc941566863c3c2ca0b59de97.tar.gz
s/DEPENDS_native-linux/DEPENDS_${EMUL_DISTRO}/
Also don't set LDCONFIG_* if EMUL_IS_NATIVE.
Diffstat (limited to 'mk')
-rw-r--r--mk/emulator/linux.mk6
1 files changed, 4 insertions, 2 deletions
diff --git a/mk/emulator/linux.mk b/mk/emulator/linux.mk
index 8fe9d0f22b4..bdc3f70a0ac 100644
--- a/mk/emulator/linux.mk
+++ b/mk/emulator/linux.mk
@@ -1,4 +1,4 @@
-# $NetBSD: linux.mk,v 1.12 2011/12/29 22:17:20 wiz Exp $
+# $NetBSD: linux.mk,v 1.13 2012/01/18 00:37:46 sbd Exp $
#
# Linux binary emulation framework
#
@@ -96,9 +96,11 @@ EMULSUBDIR= # empty
.if (${_EMUL_TYPE} == "builtin") || (${_EMUL_TYPE} == "native")
. for _mod_ in ${_EMUL_MODULES}
-DEPENDS_native-linux.${_mod_}= # 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