pkgsrc-Changes-HG archive

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

[pkgsrc/pkgsrc-2003Q4]: pkgsrc/mk Pull up, via patch, a portability fix, to t...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/5fc43575f46e
branches:  pkgsrc-2003Q4
changeset: 463731:5fc43575f46e
user:      agc <agc%pkgsrc.org@localhost>
date:      Fri Jan 09 22:26:27 2004 +0000

description:
Pull up, via patch, a portability fix, to the pkgsrc-2003Q4 branch. Requested
by Grant Beattie.

        Module Name:    pkgsrc
        Committed By:   grant
        Date:           Mon Jan  5 07:15:39 UTC 2004

        Modified Files:
                pkgsrc/mk: bsd.pkg.mk

        Log Message:
        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 15d303388dad -r 5fc43575f46e mk/bsd.pkg.mk
--- a/mk/bsd.pkg.mk     Fri Jan 09 22:22:58 2004 +0000
+++ b/mk/bsd.pkg.mk     Fri Jan 09 22:26:27 2004 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: bsd.pkg.mk,v 1.1305.2.1 2003/12/12 11:35:20 agc Exp $
+#      $NetBSD: bsd.pkg.mk,v 1.1305.2.2 2004/01/09 22:26:27 agc Exp $
 #
 # This file is in the public domain.
 #
@@ -4597,7 +4597,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