summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorwiz <wiz@pkgsrc.org>2016-07-25 21:57:23 +0000
committerwiz <wiz@pkgsrc.org>2016-07-25 21:57:23 +0000
commit6b1be9d00885d47c9f9f3519a64b53506ed90e94 (patch)
tree389759b67643fb4b450bffb90ab5c250b54b44e4
parentc29671d975846554ffe6fbb519553af2ff81daf5 (diff)
downloadpkgsrc-6b1be9d00885d47c9f9f3519a64b53506ed90e94.tar.gz
Remove special PRINT_PLIST_AWK for a couple of variables.
In particular: OS_VERSION MACHINE_GNU_PLATFORM MACHINE_ARCH MACHINE_GNU_ARCH LOWER_OS_VERSION Reason: Only very few packages really need these, many other have false positives. Ok jperkin@
-rw-r--r--mk/plist/print-plist.mk11
1 files changed, 1 insertions, 10 deletions
diff --git a/mk/plist/print-plist.mk b/mk/plist/print-plist.mk
index 3f0169ab552..d269bf357eb 100644
--- a/mk/plist/print-plist.mk
+++ b/mk/plist/print-plist.mk
@@ -1,4 +1,4 @@
-# $NetBSD: print-plist.mk,v 1.31 2016/06/03 14:32:30 joerg Exp $
+# $NetBSD: print-plist.mk,v 1.32 2016/07/25 21:57:23 wiz Exp $
###
### Automatic PLIST generation
@@ -13,15 +13,6 @@
###
_PRINT_PLIST_AWK_SUBST={
-.if !defined(EMUL_PLATFORMS)
-_PRINT_PLIST_AWK_SUBST+= \
- gsub(/${OS_VERSION:S/./\./g}/, "$${OS_VERSION}"); \
- gsub(/${MACHINE_GNU_PLATFORM}/, "$${MACHINE_GNU_PLATFORM}"); \
- gsub(/${MACHINE_ARCH}/, "$${MACHINE_ARCH}"); \
- gsub(/${MACHINE_GNU_ARCH}/, "$${MACHINE_GNU_ARCH}");
-_PRINT_PLIST_AWK_SUBST+= \
- gsub(/${LOWER_OS_VERSION:S/./\./g}/, "$${LOWER_OS_VERSION}");
-.endif
_PRINT_PLIST_AWK_SUBST+= \
gsub(/${PKGNAME_NOREV}/, "$${PKGNAME}"); \
gsub(/${PKGVERSION:S/./\./g:C/nb[0-9]*$$//}/, "$${PKGVERSION}");\