pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/print/texmf-dirs Fix PRINT_PLIST_AWK patterns to honor...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/04db0e7974a3
branches:  trunk
changeset: 511255:04db0e7974a3
user:      minskim <minskim%pkgsrc.org@localhost>
date:      Wed Apr 12 17:03:27 2006 +0000

description:
Fix PRINT_PLIST_AWK patterns to honor PKG_LOCALTEXMFPREFIX.

diffstat:

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

diffs (19 lines):

diff -r 623728c54f79 -r 04db0e7974a3 print/texmf-dirs/dirs.mk
--- a/print/texmf-dirs/dirs.mk  Wed Apr 12 16:57:04 2006 +0000
+++ b/print/texmf-dirs/dirs.mk  Wed Apr 12 17:03:27 2006 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: dirs.mk,v 1.5 2006/04/09 21:54:54 minskim Exp $
+# $NetBSD: dirs.mk,v 1.6 2006/04/12 17:03:27 minskim Exp $
 #
 # This file is intended to be included by mk/dirs.mk, not directly by packages.
 #
@@ -45,8 +45,7 @@
 DEPENDS+=      texmf-dirs>=${_USE_TEXMF_DIRS}:../../print/texmf-dirs
 
 .  for dir in ${TEXMF_DIRS}
-PRINT_PLIST_AWK+=      /^@exec \$${MKDIR} %D\/${dir:S|/|\\/|g}$$/ { next; }
-PRINT_PLIST_AWK+=      /^@dirrm ${dir:S|/|\\/|g}$$/ \
+PRINT_PLIST_AWK+=      /^@dirrm ${PKG_LOCALTEXMFPREFIX:S|${PREFIX}/||:S|/|\/|}\/${dir:S|/|\\/|g}$$/ \
                                { print "@comment In texmf-dirs: " $$0; next; }
 .  endfor
 .endif



Home | Main Index | Thread Index | Old Index