pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/mk/platform Don't bother with a version check for alph...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/e92833ee8a34
branches:  trunk
changeset: 365718:e92833ee8a34
user:      maya <maya%pkgsrc.org@localhost>
date:      Mon Jul 24 08:19:08 2017 +0000

description:
Don't bother with a version check for alpha cflags

diffstat:

 mk/platform/NetBSD.mk |  9 +++------
 1 files changed, 3 insertions(+), 6 deletions(-)

diffs (25 lines):

diff -r 81b195122696 -r e92833ee8a34 mk/platform/NetBSD.mk
--- a/mk/platform/NetBSD.mk     Mon Jul 24 07:30:07 2017 +0000
+++ b/mk/platform/NetBSD.mk     Mon Jul 24 08:19:08 2017 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: NetBSD.mk,v 1.52 2017/07/09 14:30:07 khorben Exp $
+# $NetBSD: NetBSD.mk,v 1.53 2017/07/24 08:19:08 maya Exp $
 #
 # Variable definitions for the NetBSD operating system.
 
@@ -118,13 +118,10 @@
 SERIAL_DEVICES?=       /dev/null
 .endif
 
-# Add -mieee to CFLAGS and FFLAGS for NetBSD->=1.5V-alpha
-.for __tmp__ in 1.5[V-Z] 1.5[A-Z][A-Z]* 1.[6-9]* [2-9].*
-.  if ${MACHINE_PLATFORM:MNetBSD-${__tmp__}-alpha} != ""
+.if (${MACHINE_ARCH} == alpha)
 CFLAGS+=       -mieee
 FFLAGS+=       -mieee
-.  endif       # MACHINE_PLATFORM
-.endfor                # __tmp__
+.endif
 
 # check for kqueue(2) support, added in NetBSD-1.6J
 .if exists(/usr/include/sys/event.h)



Home | Main Index | Thread Index | Old Index