pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/mk/tools Check for paxctl's existence rather than vers...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/55c9f37fe5c0
branches:  trunk
changeset: 361419:55c9f37fe5c0
user:      maya <maya%pkgsrc.org@localhost>
date:      Fri Apr 21 16:03:10 2017 +0000

description:
Check for paxctl's existence rather than version+arch check.

It likely only matched amd64 before (looks like i386 had a typo),
but it's necessary on most netbsd archs since netbsd-7.99.x.

diffstat:

 mk/tools/tools.NetBSD.mk |  5 ++---
 1 files changed, 2 insertions(+), 3 deletions(-)

diffs (19 lines):

diff -r 9df89bc7f263 -r 55c9f37fe5c0 mk/tools/tools.NetBSD.mk
--- a/mk/tools/tools.NetBSD.mk  Fri Apr 21 15:05:52 2017 +0000
+++ b/mk/tools/tools.NetBSD.mk  Fri Apr 21 16:03:10 2017 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: tools.NetBSD.mk,v 1.60 2017/04/21 14:45:07 ryoon Exp $
+# $NetBSD: tools.NetBSD.mk,v 1.61 2017/04/21 16:03:10 maya Exp $
 #
 # System-supplied tools for the NetBSD operating system.
 
@@ -89,8 +89,7 @@
 TOOLS_PLATFORM.openssl?=       /usr/bin/openssl
 TOOLS_PLATFORM.patch?=         /usr/bin/patch
 TOOLS_PLATFORM.pax?=           /bin/pax
-.if !empty(MACHINE_PLATFORM:MNetBSD-[4-9].*-386) || \
-       !empty(MACHINE_PLATFORM:MNetBSD-[4-9].*-x86_64)
+.if exists(/usr/sbin/paxctl)
 TOOLS_PLATFORM.paxctl?=                /usr/sbin/paxctl
 .endif
 TOOLS_PLATFORM.printf?=                /usr/bin/printf



Home | Main Index | Thread Index | Old Index