pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/pkgtools/createbuildlink Drop @dirrm logic. Bump version.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/8c9224d7a93b
branches:  trunk
changeset: 394744:8c9224d7a93b
user:      joerg <joerg%pkgsrc.org@localhost>
date:      Sun Jun 14 22:40:45 2009 +0000

description:
Drop @dirrm logic. Bump version.

diffstat:

 pkgtools/createbuildlink/Makefile                 |   4 ++--
 pkgtools/createbuildlink/files/substplistbasedirs |  21 ++-------------------
 2 files changed, 4 insertions(+), 21 deletions(-)

diffs (53 lines):

diff -r 558e39ecf76f -r 8c9224d7a93b pkgtools/createbuildlink/Makefile
--- a/pkgtools/createbuildlink/Makefile Sun Jun 14 22:38:00 2009 +0000
+++ b/pkgtools/createbuildlink/Makefile Sun Jun 14 22:40:45 2009 +0000
@@ -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 -r 558e39ecf76f -r 8c9224d7a93b pkgtools/createbuildlink/files/substplistbasedirs
--- a/pkgtools/createbuildlink/files/substplistbasedirs Sun Jun 14 22:38:00 2009 +0000
+++ b/pkgtools/createbuildlink/files/substplistbasedirs Sun Jun 14 22:40:45 2009 +0000
@@ -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 @@
        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; }|"



Home | Main Index | Thread Index | Old Index