diff options
author | rh <rh@pkgsrc.org> | 2003-04-04 22:13:15 +0000 |
---|---|---|
committer | rh <rh@pkgsrc.org> | 2003-04-04 22:13:15 +0000 |
commit | d25619d62444e2945b96b1650b699b52e532ec00 (patch) | |
tree | 91d05b8613b7f2526ee3cd61c60d6be1293695f7 /pkgtools | |
parent | 0e151f90a9f8fa3e5fabc7e1728b2a18f6a66b25 (diff) | |
download | pkgsrc-d25619d62444e2945b96b1650b699b52e532ec00.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')
-rw-r--r-- | pkgtools/createbuildlink/Makefile | 4 | ||||
-rwxr-xr-x | pkgtools/createbuildlink/files/createbuildlink | 6 |
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 |