summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordmcmahill <dmcmahill>2003-03-22 18:18:28 +0000
committerdmcmahill <dmcmahill>2003-03-22 18:18:28 +0000
commitec70413cd4ea73618f33b545e75a4951bda23600 (patch)
treed16a02af78ddaaf05383492f8995a9c45d86b268
parent64b6eabe46c1ab0b74c83ef2fbc3852234e52883 (diff)
downloadpkgsrc-ec70413cd4ea73618f33b545e75a4951bda23600.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.
-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@' \