summaryrefslogtreecommitdiff
path: root/emulators
diff options
context:
space:
mode:
authortron <tron>2006-06-07 14:00:44 +0000
committertron <tron>2006-06-07 14:00:44 +0000
commit546625eda1036016efa77660e4b8d4b1c3fa5774 (patch)
tree9cf46a78c0140b139b46cc06d8e2284b55c5783b /emulators
parent44ff30585fb22199fcfab2b7b96ceb379b55aaba (diff)
downloadpkgsrc-546625eda1036016efa77660e4b8d4b1c3fa5774.tar.gz
Rework last change to avoid spurious warning message if no
SuSE packages are installed.
Diffstat (limited to 'emulators')
-rw-r--r--emulators/suse_linux/Makefile.application6
1 files changed, 4 insertions, 2 deletions
diff --git a/emulators/suse_linux/Makefile.application b/emulators/suse_linux/Makefile.application
index 45aad450030..b6d9dd4735c 100644
--- a/emulators/suse_linux/Makefile.application
+++ b/emulators/suse_linux/Makefile.application
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.application,v 1.20 2006/06/07 10:39:28 tron Exp $
+# $NetBSD: Makefile.application,v 1.21 2006/06/07 14:00:44 tron Exp $
.include "../../mk/bsd.prefs.mk"
@@ -17,7 +17,9 @@
. include "../../emulators/${SUSE_DIR_PREFIX}_linux/Makefile.common"
. endif
-LDD!= ${PKG_INFO} -L suse_base | ${GREP} '/ldd$$'
+EMULSUBDIR?= emul/linux
+EMULDIR?= ${PREFIX}/${EMULSUBDIR}
+LDD= ${EMULDIR}/usr/bin/ldd
.elif ${OPSYS} == "Linux"
# No Linux emulation is needed
USE_NATIVE_LINUX= # empty