summaryrefslogtreecommitdiff
path: root/mk
diff options
context:
space:
mode:
authoragc <agc@pkgsrc.org>2003-07-22 13:48:48 +0000
committeragc <agc@pkgsrc.org>2003-07-22 13:48:48 +0000
commite25f89bf13d88b11916f4c9d6e36b7e2d8d6b485 (patch)
treed084a3a07c28da4821ce4644827fa76cce00fea3 /mk
parent32674d72818eb33ddc740f3ddaf9b51cd477863e (diff)
downloadpkgsrc-e25f89bf13d88b11916f4c9d6e36b7e2d8d6b485.tar.gz
Ignore any errors from ldd when calculating reuires and provides
Diffstat (limited to 'mk')
-rw-r--r--mk/bsd.pkg.mk4
1 files changed, 2 insertions, 2 deletions
diff --git a/mk/bsd.pkg.mk b/mk/bsd.pkg.mk
index 0738e28ea3a..945a17d4910 100644
--- a/mk/bsd.pkg.mk
+++ b/mk/bsd.pkg.mk
@@ -1,4 +1,4 @@
-# $NetBSD: bsd.pkg.mk,v 1.1219 2003/07/22 10:12:47 agc Exp $
+# $NetBSD: bsd.pkg.mk,v 1.1220 2003/07/22 13:48:48 agc Exp $
#
# This file is in the public domain.
#
@@ -4245,7 +4245,7 @@ fake-pkg: ${PLIST} ${DESCR} ${MESSAGE}
*) ldd="${LDD}"; \
esac; \
if ${TEST} "$$bins" != "" -o "$$libs" != ""; then \
- requires=`($$ldd $$bins $$libs || ${TRUE}) | ${AWK} 'NF == 3 { print $$3 }' | ${SORT} -u`; \
+ requires=`($$ldd $$bins $$libs 2>/dev/null || ${TRUE}) | ${AWK} 'NF == 3 { print $$3 }' | ${SORT} -u`; \
for req in "" $$requires; do \
${TEST} "$$req" = "" && continue; \
${ECHO} "REQUIRES=$$req" >> ${BUILD_INFO_FILE}; \