038a629f32
a) 'make install' was broken if option memtestplus-iso was specified b) patch-ac wouldn't pass pkglint c) correct document for the BadRAM link d) add compilation support for 64-bit i386 ports
23 lines
711 B
Makefile
23 lines
711 B
Makefile
# $NetBSD: options.mk,v 1.2 2007/01/06 22:26:55 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,cdrtools-ossdvd}>=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
|