summaryrefslogtreecommitdiff
path: root/mk/plist
diff options
context:
space:
mode:
authorseb <seb@pkgsrc.org>2008-07-23 23:46:26 +0000
committerseb <seb@pkgsrc.org>2008-07-23 23:46:26 +0000
commit700cddad6f0803a4ceed96bd48d9bf8a2d14239c (patch)
tree3165710e566bdbd265c36ebefee39e2c9ca0e0d2 /mk/plist
parent9aaa4a46b3ef46cade6ab7fe2e3594f88e67e308 (diff)
downloadpkgsrc-700cddad6f0803a4ceed96bd48d9bf8a2d14239c.tar.gz
Avoid quoting "other character" in awk's strings as regular expressions.
See pkg/39002.
Diffstat (limited to 'mk/plist')
-rw-r--r--mk/plist/print-plist.mk6
1 files changed, 3 insertions, 3 deletions
diff --git a/mk/plist/print-plist.mk b/mk/plist/print-plist.mk
index f523f0c3069..55527ab28a9 100644
--- a/mk/plist/print-plist.mk
+++ b/mk/plist/print-plist.mk
@@ -1,4 +1,4 @@
-# $NetBSD: print-plist.mk,v 1.15 2007/08/20 10:59:53 joerg Exp $
+# $NetBSD: print-plist.mk,v 1.16 2008/07/23 23:46:26 seb Exp $
###
### Automatic PLIST generation
@@ -34,8 +34,8 @@ _PRINT_PLIST_AWK_SUBST+= \
gsub(/${PKGVERSION:S/./\./g:C/nb[0-9]*$$//}/, "$${PKGVERSION}");\
gsub(/^${PKGLOCALEDIR}\/locale/, "share/locale"); \
gsub(/^@dirrm ${PKGLOCALEDIR}\/locale/, "@dirrm share/locale"); \
- gsub("^${PKGINFODIR}\/", "info/"); \
- gsub("^${PKGMANDIR}\/", "man/");
+ gsub("^${PKGINFODIR}/", "info/"); \
+ gsub("^${PKGMANDIR}/", "man/");
_PRINT_PLIST_AWK_SUBST+=}
_PRINT_PLIST_AWK_IGNORE= ($$0 ~ /^${PKG_DBDIR:S|^${PREFIX}/||:S|/|\\/|g}\//)