svn commit: r481795 - head/sysutils/flashrom

Emmanuel Vadot manu at FreeBSD.org
Thu Oct 11 09:12:47 UTC 2018


Author: manu
Date: Thu Oct 11 09:12:46 2018
New Revision: 481795
URL: https://svnweb.freebsd.org/changeset/ports/481795

Log:
  sysutils/flashrom: Enable buspirate interface by default
  
  Tested with my buspirate and two spi flash.
  While here, pet portlint.
  
  Approved by:	mizhka at gmail.com (maintainer), bapt (mentor)
  Differential Revision:	https://reviews.freebsd.org/D17350

Modified:
  head/sysutils/flashrom/Makefile

Modified: head/sysutils/flashrom/Makefile
==============================================================================
--- head/sysutils/flashrom/Makefile	Thu Oct 11 09:08:40 2018	(r481794)
+++ head/sysutils/flashrom/Makefile	Thu Oct 11 09:12:46 2018	(r481795)
@@ -3,6 +3,7 @@
 
 PORTNAME=	flashrom
 PORTVERSION=	1.0
+PORTREVISION=	1
 CATEGORIES=	sysutils
 MASTER_SITES=	https://download.flashrom.org/releases/
 
@@ -17,23 +18,20 @@ ONLY_FOR_ARCHS=	amd64 i386
 LIB_DEPENDS=	libpci.so:devel/libpci
 
 USES=		gmake tar:bzip2
-MAKE_ENV=	CONFIG_BUSPIRATE_SPI=no \
-		WARNERROR=no
 
+MAKE_ENV=	WARNERROR=no
+
 PLIST_FILES=	bin/flashrom \
 		man/man8/flashrom.8.gz
 PORTDOCS=	*
 
-OPTIONS_DEFINE=		BUSPIRATE DMIDECODE DOCS FTDI
+OPTIONS_DEFINE=		DMIDECODE DOCS FTDI
 OPTIONS_DEFAULT=	DMIDECODE FTDI
 
-BUSPIRATE_DESC=		Enable buspirate support (broken)
 DMIDECODE_DESC=		Use dmidecode to gather DMI information
 FTDI_DESC=		Enable external FT2232SPI flasher support
 
-BUSPIRATE_MAKE_ENV=	CONFIG_BUSPIRATE_SPI=yes
-
-DMIDECODE_RUN_DEPENDS+=	dmidecode:sysutils/dmidecode
+DMIDECODE_RUN_DEPENDS=	dmidecode:sysutils/dmidecode
 
 FTDI_LIB_DEPENDS=	libftdi1.so:devel/libftdi1
 FTDI_USES=		pkgconfig


More information about the svn-ports-all mailing list