diff options
author | grant <grant@pkgsrc.org> | 2004-01-05 07:15:39 +0000 |
---|---|---|
committer | grant <grant@pkgsrc.org> | 2004-01-05 07:15:39 +0000 |
commit | bab65643ff280253bd65c19bc0aa2e5f3166d028 (patch) | |
tree | b7559dca0f38ce071bd37f6613b715a28484d9ed /mk | |
parent | 6236fdd4016f538b92857ba1b0103c87b62e5800 (diff) | |
download | pkgsrc-bab65643ff280253bd65c19bc0aa2e5f3166d028.tar.gz |
fix a bug in the extraction of shlib dependencies on Darwin which
caused non-shared objects to be mistakenly added to the buildinfo
REQUIRES.
Diffstat (limited to 'mk')
-rw-r--r-- | mk/bsd.pkg.mk | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/mk/bsd.pkg.mk b/mk/bsd.pkg.mk index fbfde9caacf..3e58c6a59ef 100644 --- a/mk/bsd.pkg.mk +++ b/mk/bsd.pkg.mk @@ -1,4 +1,4 @@ -# $NetBSD: bsd.pkg.mk,v 1.1333 2004/01/02 12:28:05 seb Exp $ +# $NetBSD: bsd.pkg.mk,v 1.1334 2004/01/05 07:15:39 grant Exp $ # # This file is in the public domain. # @@ -4637,7 +4637,7 @@ fake-pkg: ${PLIST} ${DESCR} ${MESSAGE} Mach-O) bins=`${SETENV} PREFIX=${PREFIX} ${AWK} '/^(bin|sbin|libexec)\// { print ENVIRON["PREFIX"] "/" $$0 }' ${PLIST} || ${TRUE}`; \ libs=`${SETENV} PREFIX=${PREFIX} ${AWK} '/^lib\/lib.*\.dylib/ { print ENVIRON["PREFIX"] "/" $$0 }' ${PLIST} || ${TRUE}`; \ if ${TEST} "$$bins" != "" -o "$$libs" != ""; then \ - requires=`($$ldd $$bins $$libs 2>/dev/null || ${TRUE}) | ${AWK} 'NF > 1 { print $$1 }' | ${SORT} -u`; \ + requires=`($$ldd $$bins $$libs 2>/dev/null || ${TRUE}) | ${AWK} '/compatibility version/ { print $$1 }' | ${SORT} -u`; \ fi; \ ;; \ esac; \ |