summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoragc <agc>1998-11-16 11:25:08 +0000
committeragc <agc>1998-11-16 11:25:08 +0000
commit21e99834840330dac45a1a63584f4d13f1ee2fc3 (patch)
tree270e7e11543de1df3e8ba28ef482e1f7171b6e68
parenta0076f667051ad70c0321a9e707a8cc257642bb1 (diff)
downloadpkgsrc-21e99834840330dac45a1a63584f4d13f1ee2fc3.tar.gz
When building the PLIST for the package, also substitute for the pattern
${OS_VERSION} (which is already calculated earlier in bsd.pkg.mk).
-rw-r--r--mk/bsd.pkg.mk4
1 files changed, 3 insertions, 1 deletions
diff --git a/mk/bsd.pkg.mk b/mk/bsd.pkg.mk
index 66a7d422ee9..e730919541a 100644
--- a/mk/bsd.pkg.mk
+++ b/mk/bsd.pkg.mk
@@ -1,4 +1,4 @@
-# $NetBSD: bsd.pkg.mk,v 1.193 1998/11/09 15:45:11 hubertf Exp $
+# $NetBSD: bsd.pkg.mk,v 1.194 1998/11/16 11:25:08 agc Exp $
#
# This file is in the public domain.
#
@@ -2035,6 +2035,7 @@ ${PLIST}: ${PLIST_SRC}
-e 's|\(^\([^/]*/\)*man/\([^/]*/\)\{0,1\}man[1-9ln]/.*[1-9ln]$$\)|\1.gz|' \
-e 's|\(^\([^/]*/\)*man/\([^/]*/\)\{0,1\}cat[1-9ln]/.*[0-9ln]$$\)|\1.gz|' \
-e 's|\$${OPSYS}|${OPSYS}|g' \
+ -e 's|\$${OS_VERSION}|${OS_VERSION}|g' \
-e 's/\$${MACHINE_ARCH}/'${MACHINE_ARCH}'/g' \
-e 's/\$${MACHINE_GNU_ARCH}/'${MACHINE_GNU_ARCH}'/g' \
>${PLIST} ; \
@@ -2045,6 +2046,7 @@ ${PLIST}: ${PLIST_SRC}
-e 's|\(^\([^/]*/\)*man/\([^/]*/\)\{0,1\}man[1-9ln]/.*[1-9ln]\)\.gz$$|\1|' \
-e 's|\(^\([^/]*/\)*man/\([^/]*/\)\{0,1\}cat[1-9ln]/.*[0-9ln]\)\.gz$$|\1|' \
-e 's|\$${OPSYS}|${OPSYS}|g' \
+ -e 's|\$${OS_VERSION}|${OS_VERSION}|g' \
-e 's/\$${MACHINE_ARCH}/'${MACHINE_ARCH}'/g' \
-e 's/\$${MACHINE_GNU_ARCH}/'${MACHINE_GNU_ARCH}'/g' \
>${PLIST} ; \