pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/mk/plist Re-add ${PREFIX} to the list of directories p...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/81735c0c3c26
branches:  trunk
changeset: 512693:81735c0c3c26
user:      seb <seb%pkgsrc.org@localhost>
date:      Sun May 14 14:27:41 2006 +0000

description:
Re-add ${PREFIX} to the list of directories print-PLIST target
should ignore or it is broken for packages that installing files right
under ${PREFIX}.  Example in lang/sun-jre15:
$ make print-PLIST
...
@dirrm java/sun-1.5
ls: /usr/pkg//usr/pkg/.: No such file or directory
@dirrm /usr/pkg/.
$

It looks to me that was removed by mistake in revision 1.5
of this file.

diffstat:

 mk/plist/print-plist.mk |  3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diffs (17 lines):

diff -r 97f5ffd69fab -r 81735c0c3c26 mk/plist/print-plist.mk
--- a/mk/plist/print-plist.mk   Sun May 14 11:28:12 2006 +0000
+++ b/mk/plist/print-plist.mk   Sun May 14 14:27:41 2006 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: print-plist.mk,v 1.7 2006/05/09 21:37:33 minskim Exp $
+# $NetBSD: print-plist.mk,v 1.8 2006/05/14 14:27:41 seb Exp $
 
 ###
 ### Automatic PLIST generation
@@ -153,6 +153,7 @@
                        | ${SORT} -r                                    \
                        | ${AWK} '                                      \
                                /emul\/linux\/proc/ { next; }           \
+                               /${PREFIX:S|/|\\/|g}\/\.$$/ { next; }   \
                                /${PKG_DBDIR:S|/|\\/|g}\// { next; }    \
                                { sub("${PREFIX}/\\\\./", ""); }        \
                                { sub("^${PKGINFODIR}/", "info/"); }    \



Home | Main Index | Thread Index | Old Index