pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/mk In print-PLIST, handle '@exec ${MKDIR}' by PRINT_PL...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/f711ec3710c4
branches:  trunk
changeset: 481155:f711ec3710c4
user:      rh <rh%pkgsrc.org@localhost>
date:      Mon Sep 27 00:27:45 2004 +0000

description:
In print-PLIST, handle '@exec ${MKDIR}' by PRINT_PLIST_AWK as well.

diffstat:

 mk/bsd.pkg.mk |  6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)

diffs (20 lines):

diff -r 1a56e8b297e7 -r f711ec3710c4 mk/bsd.pkg.mk
--- a/mk/bsd.pkg.mk     Sun Sep 26 23:49:30 2004 +0000
+++ b/mk/bsd.pkg.mk     Mon Sep 27 00:27:45 2004 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: bsd.pkg.mk,v 1.1500 2004/09/24 15:00:10 jlam Exp $
+#      $NetBSD: bsd.pkg.mk,v 1.1501 2004/09/27 00:27:45 rh Exp $
 #
 # This file is in the public domain.
 #
@@ -4569,7 +4569,9 @@
                                ${_PRINT_PLIST_COMMON_DIRS}'` ;         \
        do                                                              \
                if [ `${LS} -la ${PREFIX}/$$i | ${WC} -l` = 3 ]; then   \
-                       ${ECHO} @exec \$${MKDIR} %D/$$i ;               \
+                       ${ECHO} @exec \$${MKDIR} %D/$$i | ${AWK} '      \
+                       ${PRINT_PLIST_AWK}                              \
+                       { print $$0; }' ;                               \
                fi ;                                                    \
                ${ECHO} @dirrm $$i | ${AWK} '                           \
                        ${PRINT_PLIST_AWK}                              \



Home | Main Index | Thread Index | Old Index