summaryrefslogtreecommitdiff
path: root/pkgtools
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2009-06-14 22:40:45 +0000
committerjoerg <joerg@pkgsrc.org>2009-06-14 22:40:45 +0000
commit07506041fb725a7409f5e7d5c58abe39cb1195da (patch)
treea47b8bd0b170dc2999486eb0bc3793b76d2f4676 /pkgtools
parent9b098545e4c863a2a31e255b1064bcff35e54d89 (diff)
downloadpkgsrc-07506041fb725a7409f5e7d5c58abe39cb1195da.tar.gz
Drop @dirrm logic. Bump version.
Diffstat (limited to 'pkgtools')
-rw-r--r--pkgtools/createbuildlink/Makefile4
-rwxr-xr-xpkgtools/createbuildlink/files/substplistbasedirs21
2 files changed, 4 insertions, 21 deletions
diff --git a/pkgtools/createbuildlink/Makefile b/pkgtools/createbuildlink/Makefile
index 2dcaa191410..dce2de6f153 100644
--- a/pkgtools/createbuildlink/Makefile
+++ b/pkgtools/createbuildlink/Makefile
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.46 2009/04/09 00:48:11 joerg Exp $
+# $NetBSD: Makefile,v 1.47 2009/06/14 22:40:45 joerg Exp $
-DISTNAME= createbuildlink-3.14
+DISTNAME= createbuildlink-3.15
CATEGORIES= pkgtools sysutils
MASTER_SITES= # Nothing
DISTFILES= # Nothing
diff --git a/pkgtools/createbuildlink/files/substplistbasedirs b/pkgtools/createbuildlink/files/substplistbasedirs
index 2266bb01785..89fecf8f005 100755
--- a/pkgtools/createbuildlink/files/substplistbasedirs
+++ b/pkgtools/createbuildlink/files/substplistbasedirs
@@ -1,6 +1,6 @@
#!/bin/sh
#
-# $NetBSD: substplistbasedirs,v 1.2 2004/09/27 00:31:30 rh Exp $
+# $NetBSD: substplistbasedirs,v 1.3 2009/06/14 22:40:45 joerg Exp $
#
# Copyright (c) 2002 The NetBSD Foundation, Inc.
# All rights reserved.
@@ -40,7 +40,7 @@
# in a base package
#
-REV=`echo '$Revision: 1.2 $' | sed 's/\\$//g'`
+REV=`echo '$Revision: 1.3 $' | sed 's/\\$//g'`
CURDIR=`pwd | sed 's|^.*/\([^/]*/[^/]*\)$|\1|'`
PLIST=PLIST
MDFLAG=true
@@ -71,20 +71,3 @@ if [ ! -f $PLIST ]; then
echo "###> a working $PLIST is required! <###"
exit 1
fi
-
-##
-## create @dirrm substitution patterns
-##
-grep '^@dirrm' $PLIST | sort | sed \
- -e 's|/|\\/|g' \
- -e 's|^|PRINT_PLIST_AWK+= /\^|' \
- -e "s|$|\$\$/ { print \"@comment in ${CURDIR}: \" \$\$0; next; }|"
-
-##
-## create @exec ${MKDIR} removal patterns
-##
-[ "$MDFLAG" != "true" ] || grep '^@dirrm' $PLIST | sort | sed \
- -e 's|/|\\/|g' \
- -e 's|^|PRINT_PLIST_AWK+= /\^|' \
- -e 's|@dirrm |@exec \\$${MKDIR} %D\\/|' \
- -e "s|$|\$\$/ { next; }|"