pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/pkgtools/createbuildlink Don't drop header files those...
details: https://anonhg.NetBSD.org/pkgsrc/rev/8c17089c0f15
branches: trunk
changeset: 465138:8c17089c0f15
user: uebayasi <uebayasi%pkgsrc.org@localhost>
date: Mon Dec 22 01:15:49 2003 +0000
description:
Don't drop header files those extensions are >2 characters, e.g., "*.hpp".
Min Sik Kim in PR pkg/23834.
While here, "sort | uniq" -> "sort -u" in 2 places.
diffstat:
pkgtools/createbuildlink/Makefile | 4 ++--
pkgtools/createbuildlink/files/createbuildlink | 8 ++++----
2 files changed, 6 insertions(+), 6 deletions(-)
diffs (51 lines):
diff -r 221a6e1e08e5 -r 8c17089c0f15 pkgtools/createbuildlink/Makefile
--- a/pkgtools/createbuildlink/Makefile Mon Dec 22 00:23:35 2003 +0000
+++ b/pkgtools/createbuildlink/Makefile Mon Dec 22 01:15:49 2003 +0000
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.19 2003/10/15 00:18:05 salo Exp $
+# $NetBSD: Makefile,v 1.20 2003/12/22 01:15:49 uebayasi Exp $
#
-DISTNAME= createbuildlink-2.8
+DISTNAME= createbuildlink-2.9
WRKSRC= ${WRKDIR}
CATEGORIES= pkgtools sysutils
MASTER_SITES= # Nothing
diff -r 221a6e1e08e5 -r 8c17089c0f15 pkgtools/createbuildlink/files/createbuildlink
--- a/pkgtools/createbuildlink/files/createbuildlink Mon Dec 22 00:23:35 2003 +0000
+++ b/pkgtools/createbuildlink/files/createbuildlink Mon Dec 22 01:15:49 2003 +0000
@@ -1,6 +1,6 @@
#!/bin/sh
#
-# $NetBSD: createbuildlink,v 1.15 2003/10/15 00:18:05 salo Exp $
+# $NetBSD: createbuildlink,v 1.16 2003/12/22 01:15:50 uebayasi 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.15 $' | sed 's/\\$//g'`
+REV=`echo '$Revision: 1.16 $' | sed 's/\\$//g'`
tmpdir=/tmp
makefile=Makefile
sedrules=$tmpdir/sedrules.buildlink.$$
@@ -140,7 +140,7 @@
##
if [ "$join" = "YES" ]; then
for i in `egrep "^include/|/Headers/.*\.h" $PLIST \
- | sed -e 's|[^/]*\.h\([Hhpx+]\)*$|*.h\1|' | sort | uniq`; do
+ | sed -e 's|[^/]*\.h\([Hhpx+]*\)$|*.h\1|' | sort -u`; do
echo "BUILDLINK_FILES.$PKGNOVER+= $i"
done
else
@@ -155,7 +155,7 @@
for i in \
`egrep '^lib/|/Libraries/.*/lib[^\.]*\.a$|/Libraries/.*/lib[^\.]*\.so' $PLIST \
| egrep -v '\.pc$' | sed -e 's/\.a$/.*/' -e 's/\.la$/.*/' -e 's/\.so.*$/.*/' \
-| sort | uniq`; do
+| sort -u`; do
echo "BUILDLINK_FILES.$PKGNOVER+= $i"
done
Home |
Main Index |
Thread Index |
Old Index