pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/sysutils/memtestplus Fix build on NetBSD-5* using a pa...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/33c81fa8f323
branches:  trunk
changeset: 627944:33c81fa8f323
user:      wiz <wiz%pkgsrc.org@localhost>
date:      Sun Dec 22 21:32:36 2013 +0000

description:
Fix build on NetBSD-5* using a patch from John D. Baker in PR 48469.

diffstat:

 sysutils/memtestplus/Makefile |  9 ++++++++-
 1 files changed, 8 insertions(+), 1 deletions(-)

diffs (23 lines):

diff -r 8f1219e9cb4f -r 33c81fa8f323 sysutils/memtestplus/Makefile
--- a/sysutils/memtestplus/Makefile     Sun Dec 22 19:47:41 2013 +0000
+++ b/sysutils/memtestplus/Makefile     Sun Dec 22 21:32:36 2013 +0000
@@ -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 @@
 
 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



Home | Main Index | Thread Index | Old Index