pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/pkgtools/createbuildlink Welcome to version 2.8.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/40604b18451d
branches:  trunk
changeset: 462830:40604b18451d
user:      salo <salo%pkgsrc.org@localhost>
date:      Wed Oct 15 00:18:05 2003 +0000

description:
Welcome to version 2.8.

- Do not list pkgconfig files as libraries.
- Save one grep and be more precise about removing
  pkgconfig and intltool buildlink2 file inclusions.

diffstat:

 pkgtools/createbuildlink/Makefile              |  4 ++--
 pkgtools/createbuildlink/files/createbuildlink |  9 +++++----
 2 files changed, 7 insertions(+), 6 deletions(-)

diffs (52 lines):

diff -r 0bffdbffe7ef -r 40604b18451d pkgtools/createbuildlink/Makefile
--- a/pkgtools/createbuildlink/Makefile Wed Oct 15 00:07:54 2003 +0000
+++ b/pkgtools/createbuildlink/Makefile Wed Oct 15 00:18:05 2003 +0000
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.18 2003/09/18 14:15:00 jmmv Exp $
+# $NetBSD: Makefile,v 1.19 2003/10/15 00:18:05 salo Exp $
 #
 
-DISTNAME=      createbuildlink-2.7
+DISTNAME=      createbuildlink-2.8
 WRKSRC=                ${WRKDIR}
 CATEGORIES=    pkgtools sysutils
 MASTER_SITES=  # Nothing
diff -r 0bffdbffe7ef -r 40604b18451d pkgtools/createbuildlink/files/createbuildlink
--- a/pkgtools/createbuildlink/files/createbuildlink    Wed Oct 15 00:07:54 2003 +0000
+++ b/pkgtools/createbuildlink/files/createbuildlink    Wed Oct 15 00:18:05 2003 +0000
@@ -1,6 +1,6 @@
 #!/bin/sh
 #
-#      $NetBSD: createbuildlink,v 1.14 2003/09/18 14:15:01 jmmv Exp $
+#      $NetBSD: createbuildlink,v 1.15 2003/10/15 00:18:05 salo Exp $
 #
 # Copyright (c) 2002 The NetBSD Foundation, Inc.
 # All rights reserved.
@@ -39,7 +39,7 @@
 # Create an initial buildlink2.mk from a package's Makefile and PLIST
 #
 
-REV=`echo '$Revision: 1.14 $' | sed 's/\\$//g'`
+REV=`echo '$Revision: 1.15 $' | sed 's/\\$//g'`
 tmpdir=/tmp
 makefile=Makefile
 sedrules=$tmpdir/sedrules.buildlink.$$
@@ -154,7 +154,8 @@
 ##
 for i in \
 `egrep '^lib/|/Libraries/.*/lib[^\.]*\.a$|/Libraries/.*/lib[^\.]*\.so' $PLIST \
-|sed -e 's/\.a$/.*/' -e 's/\.la$/.*/' -e 's/\.so.*$/.*/' | sort | uniq`; do
+| egrep -v '\.pc$' | sed -e 's/\.a$/.*/' -e 's/\.la$/.*/' -e 's/\.so.*$/.*/'  \
+| sort | uniq`; do
        echo "BUILDLINK_FILES.$PKGNOVER+=       $i"
 done
 
@@ -165,7 +166,7 @@
 ##
 for i in $makefile $commons ; do
        [ ! -f $i ] || grep '^.include.*\.\.\/.*\/.*/buildlink2.mk\"' $i |
-               grep -v devel/pkgconfig | grep -v textproc/intltool
+               egrep -v '/devel/pkgconfig/|/textproc/intltool/'
 done
 grep -l '^.include.*\.\.\/.*\/.*/buildlink2.mk\"' $makefile $commons \
        >/dev/null 2>&1 && echo ""      # Be careful not to print duplicate \n



Home | Main Index | Thread Index | Old Index