summaryrefslogtreecommitdiff
path: root/mk/bsd.pkg.mk
diff options
context:
space:
mode:
authordmcmahill <dmcmahill@pkgsrc.org>2003-03-22 18:18:28 +0000
committerdmcmahill <dmcmahill@pkgsrc.org>2003-03-22 18:18:28 +0000
commit92bd9d4bd88a7b66707f41ad5ee79d83b7e5135b (patch)
treed16a02af78ddaaf05383492f8995a9c45d86b268 /mk/bsd.pkg.mk
parent15122c193542b43e0454bf82fd90630c71e5bd6d (diff)
downloadpkgsrc-92bd9d4bd88a7b66707f41ad5ee79d83b7e5135b.tar.gz
when creating PLIST's, substitute \. for . in the sed pattern for
the operating system version to avoid things like /1.6/ matching 106 which can create a huge mess in the generated PLIST.
Diffstat (limited to 'mk/bsd.pkg.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 2d3bdb327e4..f1388cc6f4c 100644
--- a/mk/bsd.pkg.mk
+++ b/mk/bsd.pkg.mk
@@ -1,4 +1,4 @@
-# $NetBSD: bsd.pkg.mk,v 1.1154 2003/03/22 07:11:53 grant Exp $
+# $NetBSD: bsd.pkg.mk,v 1.1155 2003/03/22 18:18:28 dmcmahill Exp $
#
# This file is in the public domain.
#
@@ -3905,7 +3905,7 @@ SUBST_PLIST_REPLACEMENT=\
-e 's@${MACHINE_GNU_ARCH}@\$${MACHINE_GNU_ARCH}@' \
-e 's@${LOWER_VENDOR}@\$${LOWER_VENDOR}@' \
-e 's@${LOWER_OPSYS}@\$${LOWER_OPSYS}@' \
- -e 's@${LOWER_OS_VERSION}@\$${LOWER_OS_VERSION}@' \
+ -e 's@${LOWER_OS_VERSION:S/./\./g}@\$${LOWER_OS_VERSION}@' \
-e 's@${PKGNAME:S/./\./g}@\$${PKGNAME}@' \
-e 's@${PKGVERSION:S/./\./g}@\$${PKGVERSION}@' \
-e 's@${PKGLOCALEDIR}/locale@\$${PKGLOCALEDIR}/locale@' \