Wed Jun 4 16:07:34 2014 UTC ()
Enable "iso" by default.

This makes the package more useful for users of binary packages, who
can then burn a bootable memtest CD, and only costs 1.8 MB without
adding any run-time dependencies.  Source users get a dependency on
cdrtools, but that's likely already installed, and the option can
easily be turned off in that case (unlike binary package users, who
can't change options).


(gdt)
diff -r1.18 -r1.19 pkgsrc/sysutils/memtestplus/Makefile
diff -r1.5 -r1.6 pkgsrc/sysutils/memtestplus/options.mk

cvs diff -r1.18 -r1.19 pkgsrc/sysutils/memtestplus/Makefile (expand / switch to unified diff)

--- pkgsrc/sysutils/memtestplus/Makefile 2013/12/22 21:32:36 1.18
+++ pkgsrc/sysutils/memtestplus/Makefile 2014/06/04 16:07:34 1.19
@@ -1,22 +1,23 @@ @@ -1,22 +1,23 @@
1# $NetBSD: Makefile,v 1.18 2013/12/22 21:32:36 wiz Exp $ 1# $NetBSD: Makefile,v 1.19 2014/06/04 16:07:34 gdt Exp $
2# 2#
3 3
4# Note -- version number also in the do-install rule 4# Note -- version number also in the do-install rule
5MAJVER=5 5MAJVER=5
6MINVER=01 6MINVER=01
7 7
8DISTNAME= memtest86+-${MAJVER}.${MINVER} 8DISTNAME= memtest86+-${MAJVER}.${MINVER}
9PKGNAME= memtestplus-${MAJVER}.${MINVER} 9PKGNAME= memtestplus-${MAJVER}.${MINVER}
 10PKGREVISION= 1
10CATEGORIES= sysutils 11CATEGORIES= sysutils
11MASTER_SITES= http://www.memtest.org/download/${MAJVER}.${MINVER}/ 12MASTER_SITES= http://www.memtest.org/download/${MAJVER}.${MINVER}/
12 13
13MAINTAINER= pkgsrc-users@NetBSD.org 14MAINTAINER= pkgsrc-users@NetBSD.org
14HOMEPAGE= http://www.memtest.org/ 15HOMEPAGE= http://www.memtest.org/
15COMMENT= Thorough, stand alone memory test for x86 arch 16COMMENT= Thorough, stand alone memory test for x86 arch
16LICENSE= gnu-gpl-v2 17LICENSE= gnu-gpl-v2
17 18
18ONLY_FOR_PLATFORM= NetBSD-*-i386 Linux-*-i386 NetBSD-*-x86_64 Linux-*-x86_64 19ONLY_FOR_PLATFORM= NetBSD-*-i386 Linux-*-i386 NetBSD-*-x86_64 Linux-*-x86_64
19 20
20.include "../../mk/bsd.prefs.mk" 21.include "../../mk/bsd.prefs.mk"
21.if !empty(MACHINE_PLATFORM:MNetBSD-5.*) 22.if !empty(MACHINE_PLATFORM:MNetBSD-5.*)
22GCC_REQD+= 4.6 23GCC_REQD+= 4.6

cvs diff -r1.5 -r1.6 pkgsrc/sysutils/memtestplus/options.mk (expand / switch to unified diff)

--- pkgsrc/sysutils/memtestplus/options.mk 2008/11/24 04:06:00 1.5
+++ pkgsrc/sysutils/memtestplus/options.mk 2014/06/04 16:07:34 1.6
@@ -1,18 +1,18 @@ @@ -1,18 +1,18 @@
1# $NetBSD: options.mk,v 1.5 2008/11/24 04:06:00 smb Exp $ 1# $NetBSD: options.mk,v 1.6 2014/06/04 16:07:34 gdt Exp $
2 2
3PKG_OPTIONS_VAR= PKG_OPTIONS.memtestplus 3PKG_OPTIONS_VAR= PKG_OPTIONS.memtestplus
4PKG_SUPPORTED_OPTIONS= iso serialconsole 4PKG_SUPPORTED_OPTIONS= iso serialconsole
5PKG_SUGGESTED_OPTIONS= 5PKG_SUGGESTED_OPTIONS= iso
6 6
7.include "../../mk/bsd.options.mk" 7.include "../../mk/bsd.options.mk"
8 8
9PLIST_VARS+= iso 9PLIST_VARS+= iso
10.if !empty(PKG_OPTIONS:Miso) 10.if !empty(PKG_OPTIONS:Miso)
11BUILD_TARGET= iso 11BUILD_TARGET= iso
12BUILD_DEPENDS+= {cdrtools,cdrtools-ossdvd}>=2.01:../../sysutils/cdrtools 12BUILD_DEPENDS+= {cdrtools,cdrtools-ossdvd}>=2.01:../../sysutils/cdrtools
13PLIST.iso= yes 13PLIST.iso= yes
14.endif 14.endif
15 15
16.if !empty(PKG_OPTIONS:Mserialconsole) 16.if !empty(PKG_OPTIONS:Mserialconsole)
17SUBST_CLASSES+= serialopt 17SUBST_CLASSES+= serialopt
18SUBST_STAGE.serialopt= post-patch 18SUBST_STAGE.serialopt= post-patch