From d25619d62444e2945b96b1650b699b52e532ec00 Mon Sep 17 00:00:00 2001 From: rh Date: Fri, 4 Apr 2003 22:13:15 +0000 Subject: Update createbuildlink to 2.5. This version now also recognises C++ header files (.hh, .hp, .hpp, .H, .hxx, .h++) when joining includes. --- pkgtools/createbuildlink/Makefile | 4 ++-- pkgtools/createbuildlink/files/createbuildlink | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) (limited to 'pkgtools') 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 -- cgit v1.2.3