diff options
author | minskim <minskim@pkgsrc.org> | 2006-04-12 17:03:27 +0000 |
---|---|---|
committer | minskim <minskim@pkgsrc.org> | 2006-04-12 17:03:27 +0000 |
commit | 14ac7e362d40b056da62195f34d4165cff38a1a6 (patch) | |
tree | c8cc04b4d84768db3a84299e8f816db9a53c5355 /print | |
parent | b23f84b01fa4102daa918d390b01c3ba132fd6e0 (diff) | |
download | pkgsrc-14ac7e362d40b056da62195f34d4165cff38a1a6.tar.gz |
Fix PRINT_PLIST_AWK patterns to honor PKG_LOCALTEXMFPREFIX.
Diffstat (limited to 'print')
-rw-r--r-- | print/texmf-dirs/dirs.mk | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/print/texmf-dirs/dirs.mk b/print/texmf-dirs/dirs.mk index 476da74c48d..c40ab5013e7 100644 --- a/print/texmf-dirs/dirs.mk +++ b/print/texmf-dirs/dirs.mk @@ -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 @@ TEXMF_DIRS+= web2c 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 |