pkgsrc-Bugs archive

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

Re: pkg/48469: sysutils/memtestplus build failure on NetBSD/i386-5.2_STABLE



The following reply was made to PR pkg/48469; it has been noted by GNATS.

From: "John D. Baker" <jdbaker%mylinuxisp.com@localhost>
To: gnats-bugs%NetBSD.org@localhost
Cc: 
Subject: Re: pkg/48469: sysutils/memtestplus build failure on 
NetBSD/i386-5.2_STABLE
Date: Sun, 22 Dec 2013 14:16:50 -0600 (CST)

 The following patch allows memtestplus to build on netbsd-5/i386
 (swiped from "www/firefox/mozilla-common.mk"):
 
 +Index: sysutils/memtestplus/Makefile
 +===================================================================
 +RCS file: /cvsroot/pkgsrc/sysutils/memtestplus/Makefile,v
 +retrieving revision 1.17
 +diff -u -b -r1.17 Makefile
 +--- sysutils/memtestplus/Makefile       8 Dec 2013 00:35:28 -0000       1.17
 ++++ sysutils/memtestplus/Makefile       22 Dec 2013 20:11:07 -0000
 +@@ -17,6 +17,14 @@
 + 
 + 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
 
 -- 
 |/"\ John D. Baker, KN5UKS               NetBSD     Darwin/MacOS X
 |\ / jdbaker[snail]mylinuxisp[flyspeck]com    OpenBSD            FreeBSD
 | X  No HTML/proprietary data in email.   BSD just sits there and works!
 |/ \ GPGkeyID:  D703 4A7E 479F 63F8 D3F4  BD99 9572 8F23 E4AD 1645
 


Home | Main Index | Thread Index | Old Index