summaryrefslogtreecommitdiff
path: root/sysutils
diff options
context:
space:
mode:
Diffstat (limited to 'sysutils')
-rw-r--r--sysutils/memtestplus/Makefile9
1 files changed, 8 insertions, 1 deletions
diff --git a/sysutils/memtestplus/Makefile b/sysutils/memtestplus/Makefile
index 79f5676f46a..f8f7c747625 100644
--- a/sysutils/memtestplus/Makefile
+++ b/sysutils/memtestplus/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.17 2013/12/08 00:35:28 jakllsch Exp $
+# $NetBSD: Makefile,v 1.18 2013/12/22 21:32:36 wiz Exp $
#
# Note -- version number also in the do-install rule
@@ -17,6 +17,13 @@ LICENSE= gnu-gpl-v2
ONLY_FOR_PLATFORM= NetBSD-*-i386 Linux-*-i386 NetBSD-*-x86_64 Linux-*-x86_64
+.include "../../mk/bsd.prefs.mk"
+.if !empty(MACHINE_PLATFORM:MNetBSD-5.*)
+GCC_REQD+= 4.6
+.else
+GCC_REQD+= 4.5
+.endif
+
USE_TOOLS+= gmake
SUBST_CLASSES+= delcr
SUBST_STAGE.delcr= pre-patch