pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/mk fix a bug in the extraction of shlib dependencies o...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/9ab1b1aefebb
branches:  trunk
changeset: 465715:9ab1b1aefebb
user:      grant <grant%pkgsrc.org@localhost>
date:      Mon Jan 05 07:15:39 2004 +0000

description:
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:

 mk/bsd.pkg.mk |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r 36a3808a47cf -r 9ab1b1aefebb mk/bsd.pkg.mk
--- a/mk/bsd.pkg.mk     Mon Jan 05 07:01:43 2004 +0000
+++ b/mk/bsd.pkg.mk     Mon Jan 05 07:15:39 2004 +0000
@@ -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 @@
        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;                                                           \



Home | Main Index | Thread Index | Old Index