summaryrefslogtreecommitdiff
path: root/mk
diff options
context:
space:
mode:
authorhubertf <hubertf@pkgsrc.org>2002-07-24 00:54:23 +0000
committerhubertf <hubertf@pkgsrc.org>2002-07-24 00:54:23 +0000
commita346fa09771f81ae70249048e2e5e6e74a4d3cec (patch)
tree91eee65746e4a6ada8d7e496e1f417a140b4423d /mk
parent059a5acff108327463e78d185e2734fba8df873c (diff)
downloadpkgsrc-a346fa09771f81ae70249048e2e5e6e74a4d3cec.tar.gz
print-PLIST: only substitute PKGVERSION when it really matches, i.e.
excape the "." ("1.2" -> "1\.2" etc.; hit in fonts/intlfonts)
Diffstat (limited to 'mk')
-rw-r--r--mk/bsd.pkg.mk4
1 files changed, 2 insertions, 2 deletions
diff --git a/mk/bsd.pkg.mk b/mk/bsd.pkg.mk
index 5c233ee8568..6d322574013 100644
--- a/mk/bsd.pkg.mk
+++ b/mk/bsd.pkg.mk
@@ -1,4 +1,4 @@
-# $NetBSD: bsd.pkg.mk,v 1.1012 2002/07/23 19:10:27 cjep Exp $
+# $NetBSD: bsd.pkg.mk,v 1.1013 2002/07/24 00:54:23 hubertf Exp $
#
# This file is in the public domain.
#
@@ -3800,7 +3800,7 @@ print-PLIST:
-e 's@${LOWER_OPSYS}@\$${LOWER_OPSYS}@' \
-e 's@${LOWER_OS_VERSION}@\$${LOWER_OS_VERSION}@' \
-e 's@${PKGNAME}@\$${PKGNAME}@' \
- -e 's@${PKGVERSION}@\$${PKGVERSION}@' \
+ -e 's@${PKGVERSION:C/\./\./}@\$${PKGVERSION}@' \
-e 's@${PKGLOCALEDIR}/locale@\$${PKGLOCALEDIR}/locale@' \
| ${AWK} ' \
/^@/ { print $$0; next } \