summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTilman Keskinoz <arved@FreeBSD.org>2015-02-20 16:47:29 +0000
committerTilman Keskinoz <arved@FreeBSD.org>2015-02-20 16:47:29 +0000
commit0920f20dda1abdccdef84dfe993941f9300e76c2 (patch)
tree819bba431b65d4d33d2d432bdfad72853a21e52b
parentSupport non default ports path. (diff)
Remove Werror to allow compilation with latest clang
PR: 196460
Notes
Notes: svn path=/head/; revision=379447
-rw-r--r--sysutils/flashrom/Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/sysutils/flashrom/Makefile b/sysutils/flashrom/Makefile
index b8d3e7c8c419..6376eef2a670 100644
--- a/sysutils/flashrom/Makefile
+++ b/sysutils/flashrom/Makefile
@@ -49,6 +49,9 @@ 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/