mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-24 00:45:52 +00:00
- Make dmidecode an optional dependency
PR: ports/157540 Submitted by: Mark Johnston <markjdb at gmail.com>
This commit is contained in:
parent
dc9c15e0ad
commit
60deb0f2b9
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=276480
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user