summaryrefslogtreecommitdiff
path: root/pkgtools/createbuildlink
diff options
context:
space:
mode:
authorrh <rh>2003-04-04 22:13:15 +0000
committerrh <rh>2003-04-04 22:13:15 +0000
commit4ee498597d714f6154e8e76c07a2c77b7baa3e37 (patch)
tree91d05b8613b7f2526ee3cd61c60d6be1293695f7 /pkgtools/createbuildlink
parente31f67186590c11ce8b68f3c1bb403edd6d87aa6 (diff)
downloadpkgsrc-4ee498597d714f6154e8e76c07a2c77b7baa3e37.tar.gz
Update createbuildlink to 2.5. This version now also recognises C++ header
files (.hh, .hp, .hpp, .H, .hxx, .h++) when joining includes.
Diffstat (limited to 'pkgtools/createbuildlink')
-rw-r--r--pkgtools/createbuildlink/Makefile4
-rwxr-xr-xpkgtools/createbuildlink/files/createbuildlink6
2 files changed, 5 insertions, 5 deletions
diff --git a/pkgtools/createbuildlink/Makefile b/pkgtools/createbuildlink/Makefile
index 4ae17609394..c476726d422 100644
--- a/pkgtools/createbuildlink/Makefile
+++ b/pkgtools/createbuildlink/Makefile
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.14 2003/03/29 12:42:09 jmmv Exp $
+# $NetBSD: Makefile,v 1.15 2003/04/04 22:13:15 rh Exp $
#
-DISTNAME= createbuildlink-2.4
+DISTNAME= createbuildlink-2.5
WRKSRC= ${WRKDIR}
CATEGORIES= pkgtools sysutils
MASTER_SITES= # Nothing
diff --git a/pkgtools/createbuildlink/files/createbuildlink b/pkgtools/createbuildlink/files/createbuildlink
index 4111ddfa3ab..2c11d8423db 100755
--- a/pkgtools/createbuildlink/files/createbuildlink
+++ b/pkgtools/createbuildlink/files/createbuildlink
@@ -1,6 +1,6 @@
#!/bin/sh
#
-# $NetBSD: createbuildlink,v 1.11 2003/01/09 02:21:30 uebayasi Exp $
+# $NetBSD: createbuildlink,v 1.12 2003/04/04 22:13:16 rh 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.11 $' | sed 's/\\$//g'`
+REV=`echo '$Revision: 1.12 $' | sed 's/\\$//g'`
tmpdir=/tmp
makefile=Makefile
sedrules=$tmpdir/sedrules.buildlink.$$
@@ -140,7 +140,7 @@ EOF
##
if [ "$join" = "YES" ]; then
for i in `egrep "^include/|/Headers/.*\.h" $PLIST \
- | sed -e 's|[^/]*\.h$|*.h|' | sort | uniq`; do
+ | sed -e 's|[^/]*\.h\([Hhpx+]\)*$|*.h\1|' | sort | uniq`; do
echo "BUILDLINK_FILES.$PKGNOVER+= $i"
done
else