diff --git a/Makefile b/Makefile index 2c73c5f..0be40ac 100644 --- a/Makefile +++ b/Makefile @@ -14,9 +14,9 @@ MAINTAINER= avl@FreeBSD.org COMMENT= A utility for reading, writing, verifying and erasing flash ROM chips LIB_DEPENDS= pci.3:${PORTSDIR}/devel/libpci -RUN_DEPENDS= dmidecode:${PORTSDIR}/sysutils/dmidecode -OPTIONS= FTDI "Enable external FT2232SPI flasher support" off +OPTIONS= FTDI "Enable external FT2232SPI flasher support" off \ + DMIDECODE "Use dmidecode to gather DMI information" on USE_BZIP2= yes USE_GMAKE= yes @@ -39,6 +39,9 @@ MAN8= ${PORTNAME}.8 USE_GNOME= pkgconfig LIB_DEPENDS+= ftdi.18:${PORTSDIR}/devel/libftdi .endif +.if defined(WITH_DMIDECODE) +RUN_DEPENDS= dmidecode:${PORTSDIR}/sysutils/dmidecode +.endif post-patch: .if defined(WITH_FTDI)