summaryrefslogtreecommitdiff
path: root/pkgtools/createbuildlink
diff options
context:
space:
mode:
authorrh <rh@pkgsrc.org>2004-09-27 00:31:30 +0000
committerrh <rh@pkgsrc.org>2004-09-27 00:31:30 +0000
commitca4f429d6fbed3c711630439669e401fbb0feb80 (patch)
tree455d1a7c54c1993ac07ec9585fd2d06fe5e08d42 /pkgtools/createbuildlink
parentccdc09933b8b0ba0d613969fb6cabf2f7a18add4 (diff)
downloadpkgsrc-ca4f429d6fbed3c711630439669e401fbb0feb80.tar.gz
Update createbuildlink to 3.7. Properly escape '@exec ${MKDIR}' patterns
now that 'make print-PLIST' handles this.
Diffstat (limited to 'pkgtools/createbuildlink')
-rw-r--r--pkgtools/createbuildlink/Makefile4
-rwxr-xr-xpkgtools/createbuildlink/files/substplistbasedirs6
2 files changed, 5 insertions, 5 deletions
diff --git a/pkgtools/createbuildlink/Makefile b/pkgtools/createbuildlink/Makefile
index d0ed1ec6ba3..a1e1b0e1107 100644
--- a/pkgtools/createbuildlink/Makefile
+++ b/pkgtools/createbuildlink/Makefile
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.31 2004/09/26 23:48:09 rh Exp $
+# $NetBSD: Makefile,v 1.32 2004/09/27 00:31:30 rh Exp $
-DISTNAME= createbuildlink-3.6
+DISTNAME= createbuildlink-3.7
CATEGORIES= pkgtools sysutils
MASTER_SITES= # Nothing
DISTFILES= # Nothing
diff --git a/pkgtools/createbuildlink/files/substplistbasedirs b/pkgtools/createbuildlink/files/substplistbasedirs
index a3478eb7c7f..2266bb01785 100755
--- a/pkgtools/createbuildlink/files/substplistbasedirs
+++ b/pkgtools/createbuildlink/files/substplistbasedirs
@@ -1,6 +1,6 @@
#!/bin/sh
#
-# $NetBSD: substplistbasedirs,v 1.1 2004/09/26 23:48:09 rh Exp $
+# $NetBSD: substplistbasedirs,v 1.2 2004/09/27 00:31:30 rh Exp $
#
# Copyright (c) 2002 The NetBSD Foundation, Inc.
# All rights reserved.
@@ -40,7 +40,7 @@
# in a base package
#
-REV=`echo '$Revision: 1.1 $' | sed 's/\\$//g'`
+REV=`echo '$Revision: 1.2 $' | sed 's/\\$//g'`
CURDIR=`pwd | sed 's|^.*/\([^/]*/[^/]*\)$|\1|'`
PLIST=PLIST
MDFLAG=true
@@ -86,5 +86,5 @@ grep '^@dirrm' $PLIST | sort | sed \
[ "$MDFLAG" != "true" ] || grep '^@dirrm' $PLIST | sort | sed \
-e 's|/|\\/|g' \
-e 's|^|PRINT_PLIST_AWK+= /\^|' \
- -e 's|@dirrm |@exec $${MKDIR} %D\\/|' \
+ -e 's|@dirrm |@exec \\$${MKDIR} %D\\/|' \
-e "s|$|\$\$/ { next; }|"