diff options
author | smb <smb@pkgsrc.org> | 2006-10-24 18:00:05 +0000 |
---|---|---|
committer | smb <smb@pkgsrc.org> | 2006-10-24 18:00:05 +0000 |
commit | 0dd1f0146ed33692a65a6e9ff1506e874569a04a (patch) | |
tree | 18ccf555a14f9e7fc933f8c01c2044ba763d21e2 /sysutils/memtestplus/options.mk | |
parent | fcb35f696ac1508920c15a6990e2d215b99212fb (diff) | |
download | pkgsrc-0dd1f0146ed33692a65a6e9ff1506e874569a04a.tar.gz |
Add memtest+ 1.65 to pkgsrc, with options for serial console and .iso generation
Diffstat (limited to 'sysutils/memtestplus/options.mk')
-rw-r--r-- | sysutils/memtestplus/options.mk | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/sysutils/memtestplus/options.mk b/sysutils/memtestplus/options.mk new file mode 100644 index 00000000000..3b635e55502 --- /dev/null +++ b/sysutils/memtestplus/options.mk @@ -0,0 +1,23 @@ +# $NetBSD: options.mk,v 1.1 2006/10/24 18:00:05 smb Exp $ + +PKG_OPTIONS_VAR= PKG_OPTIONS.memtestplus +PKG_SUPPORTED_OPTIONS= memtesplus-iso memtesplus-serialconsole +PKG_SUGGESTED_OPTIONS= + +.include "../../mk/bsd.options.mk" + +.if !empty(PKG_OPTIONS:Mmemtesplus-iso) +BUILD_TARGET= memtest.iso +BUILD_DEPENDS+= cdrtools>=2.01:../../sysutils/cdrtools +PLIST_SUBST+= HAVE_ISO="" +.else +PLIST_SUBST+= HAVE_ISO="@comment " +.endif + +.if !empty(PKG_OPTIONS:Mmemtesplus-serialconsole) +SUBST_CLASSES+= serialopt +SUBST_STAGE.serialopt= post-patch +SUBST_MESSAGE.serialopt= Setting serial console option +SUBST_FILES.serialopt= config.h +SUBST_SED.serialopt= -e '/define.*SERIAL_CONSOLE_DEFAULT/s/0/1/' +.endif |