diff options
author | sbd <sbd> | 2012-01-18 00:37:46 +0000 |
---|---|---|
committer | sbd <sbd> | 2012-01-18 00:37:46 +0000 |
commit | f5ccad2c655afd24dfbf48b0ed59b5a662575304 (patch) | |
tree | 588f98247f30683e61c0150d581061c7f6994c6d /mk/emulator/linux.mk | |
parent | 990f6a969f4f359b9aec90e7d04700c599bbe9e1 (diff) | |
download | pkgsrc-f5ccad2c655afd24dfbf48b0ed59b5a662575304.tar.gz |
s/DEPENDS_native-linux/DEPENDS_${EMUL_DISTRO}/
Also don't set LDCONFIG_* if EMUL_IS_NATIVE.
Diffstat (limited to 'mk/emulator/linux.mk')
-rw-r--r-- | mk/emulator/linux.mk | 6 |
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 |