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