1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-05 06:27:37 +00:00

- 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)
This commit is contained in:
Dmitry Marakasov 2016-03-27 22:11:02 +00:00
parent 2f596faf24
commit bc722d2892
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=412014
2 changed files with 6 additions and 12 deletions

View File

@ -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 DMI information
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=yes
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/

View File

@ -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