diff options
author | avl <avl@FreeBSD.org> | 2011-06-27 13:42:34 +0800 |
---|---|---|
committer | avl <avl@FreeBSD.org> | 2011-06-27 13:42:34 +0800 |
commit | 1b6eb5e6619bc1007a4d5ed45a17fe21ecdcd303 (patch) | |
tree | f2974d66685df402d5d992038a41bfed4d29aed4 /sysutils | |
parent | 7726ae27cad7ae28408f4ffb1b5cbc14c7278c5b (diff) | |
download | freebsd-ports-gnome-1b6eb5e6619bc1007a4d5ed45a17fe21ecdcd303.tar.gz freebsd-ports-gnome-1b6eb5e6619bc1007a4d5ed45a17fe21ecdcd303.tar.zst freebsd-ports-gnome-1b6eb5e6619bc1007a4d5ed45a17fe21ecdcd303.zip |
- Make dmidecode an optional dependency
PR: ports/157540
Submitted by: Mark Johnston <markjdb at gmail.com>
Diffstat (limited to 'sysutils')
-rw-r--r-- | sysutils/flashrom/Makefile | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/sysutils/flashrom/Makefile b/sysutils/flashrom/Makefile index 3ebca77447c2..714bca382ec1 100644 --- a/sysutils/flashrom/Makefile +++ b/sysutils/flashrom/Makefile @@ -7,6 +7,7 @@ PORTNAME= flashrom PORTVERSION= 0.9.3 +PORTREVISION= 1 CATEGORIES= sysutils MASTER_SITES= http://qa.coreboot.org/releases/ @@ -14,9 +15,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= DMIDECODE "Use dmidecode to gather DMI information" on \ + FTDI "Enable external FT2232SPI flasher support" off USE_BZIP2= yes USE_GMAKE= yes @@ -35,6 +36,10 @@ MAN8= ${PORTNAME}.8 .include <bsd.port.options.mk> +.if !defined(WITHOUT_DMIDECODE) +RUN_DEPENDS= dmidecode:${PORTSDIR}/sysutils/dmidecode +.endif + .if defined(WITH_FTDI) USE_GNOME= pkgconfig LIB_DEPENDS+= ftdi.18:${PORTSDIR}/devel/libftdi |