pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/mk/plist Remove special PRINT_PLIST_AWK for a couple o...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/26b6cc36e46b
branches:  trunk
changeset: 350304:26b6cc36e46b
user:      wiz <wiz%pkgsrc.org@localhost>
date:      Mon Jul 25 21:57:23 2016 +0000

description:
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@

diffstat:

 mk/plist/print-plist.mk |  11 +----------
 1 files changed, 1 insertions(+), 10 deletions(-)

diffs (25 lines):

diff -r c9c98372327b -r 26b6cc36e46b mk/plist/print-plist.mk
--- a/mk/plist/print-plist.mk   Mon Jul 25 21:56:04 2016 +0000
+++ b/mk/plist/print-plist.mk   Mon Jul 25 21:57:23 2016 +0000
@@ -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}");\



Home | Main Index | Thread Index | Old Index