summaryrefslogtreecommitdiff
path: root/emulators
diff options
context:
space:
mode:
authortron <tron@pkgsrc.org>2006-06-07 14:00:44 +0000
committertron <tron@pkgsrc.org>2006-06-07 14:00:44 +0000
commit4ebb771b2070587119b9364fd43bc63d04e40918 (patch)
tree9cf46a78c0140b139b46cc06d8e2284b55c5783b /emulators
parentb1ee560908027bfefba5eed972fe3e330efd0ee8 (diff)
downloadpkgsrc-4ebb771b2070587119b9364fd43bc63d04e40918.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