Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 27 Mar 2016 22:11:02 +0000 (UTC)
From:      Dmitry Marakasov <amdmi3@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r412014 - head/sysutils/flashrom
Message-ID:  <201603272211.u2RMB2Rt096773@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: amdmi3
Date: Sun Mar 27 22:11:02 2016
New Revision: 412014
URL: https://svnweb.freebsd.org/changeset/ports/412014

Log:
  - Update to 0.9.9
  - Remove some now unnecessary build flags from the port
  - Switch to using libftdi1 as suggested by the release notes
  
  PR:		207954
  Submitted by:	t@tobik.me
  Approved by:	maintainer timeout (nukama+maintainer@gmail.com, 2 weeks)

Modified:
  head/sysutils/flashrom/Makefile
  head/sysutils/flashrom/distinfo

Modified: head/sysutils/flashrom/Makefile
==============================================================================
--- head/sysutils/flashrom/Makefile	Sun Mar 27 22:08:06 2016	(r412013)
+++ head/sysutils/flashrom/Makefile	Sun Mar 27 22:11:02 2016	(r412014)
@@ -2,7 +2,7 @@
 # $FreeBSD$
 
 PORTNAME=	flashrom
-PORTVERSION=	0.9.8
+PORTVERSION=	0.9.9
 CATEGORIES=	sysutils
 MASTER_SITES=	http://download.flashrom.org/releases/
 
@@ -21,9 +21,8 @@ DMIDECODE_DESC=		Use dmidecode to gather
 FTDI_DESC=		Enable external FT2232SPI flasher support
 
 USES=		gmake tar:bzip2
-CPPFLAGS+=	-I${LOCALBASE}/include
-LDFLAGS+=	-L${LOCALBASE}/lib -lc
-MAKE_ENV=	CONFIG_BUSPIRATE_SPI=no
+MAKE_ENV=	CONFIG_BUSPIRATE_SPI=no \
+		WARNERROR=no
 
 ONLY_FOR_ARCHS=	amd64 i386
 
@@ -43,13 +42,8 @@ BUSPIRATE_MAKE_ENV=	CONFIG_BUSPIRATE_SPI
 
 DMIDECODE_RUN_DEPENDS+=	dmidecode:${PORTSDIR}/sysutils/dmidecode
 
-FTDI_LIB_DEPENDS=	libftdi.so:${PORTSDIR}/devel/libftdi
+FTDI_LIB_DEPENDS=	libftdi1.so:${PORTSDIR}/devel/libftdi1
 FTDI_USES=		pkgconfig
-FTDI_LDFLAGS=		-lz
-FTDI_MAKE_ENV_OFF=	2_SPI=no
-
-post-patch:
-	${REINPLACE_CMD} -e "s,-Werror,,g" ${WRKSRC}/Makefile
 
 do-install:
 	${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin/

Modified: head/sysutils/flashrom/distinfo
==============================================================================
--- head/sysutils/flashrom/distinfo	Sun Mar 27 22:08:06 2016	(r412013)
+++ head/sysutils/flashrom/distinfo	Sun Mar 27 22:11:02 2016	(r412014)
@@ -1,2 +1,2 @@
-SHA256 (flashrom-0.9.8.tar.bz2) = 13dc7c895e583111ecca370363a3527d237d178a134a94b20db7df177c05f934
-SIZE (flashrom-0.9.8.tar.bz2) = 473902
+SHA256 (flashrom-0.9.9.tar.bz2) = cb3156b0f63eb192024b76c0814135930297aac41f80761a5d293de769783c45
+SIZE (flashrom-0.9.9.tar.bz2) = 495199



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201603272211.u2RMB2Rt096773>