diff options
author | minskim <minskim> | 2006-04-12 17:03:27 +0000 |
---|---|---|
committer | minskim <minskim> | 2006-04-12 17:03:27 +0000 |
commit | d91da02dfe92ad2e6dbd89cbee671ef77975e9a5 (patch) | |
tree | c8cc04b4d84768db3a84299e8f816db9a53c5355 /print/texmf-dirs | |
parent | 1a225a3010072eba37fd20955aaa608bb444dd12 (diff) | |
download | pkgsrc-d91da02dfe92ad2e6dbd89cbee671ef77975e9a5.tar.gz |
Fix PRINT_PLIST_AWK patterns to honor PKG_LOCALTEXMFPREFIX.
Diffstat (limited to 'print/texmf-dirs')
-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 |