aboutsummaryrefslogtreecommitdiff
path: root/sysutils/fusefs-libs3
diff options
context:
space:
mode:
authorMark Linimon <linimon@FreeBSD.org>2018-11-24 09:24:41 +0000
committerMark Linimon <linimon@FreeBSD.org>2018-11-24 09:24:41 +0000
commit01c759528811232e1ffd5e208a512142fbb18631 (patch)
tree89ecfdc5065863a4cbf0532382731040bd2f60ec /sysutils/fusefs-libs3
parent05948ae4d9c30d2008211421f99c5871bc412186 (diff)
downloadports-01c759528811232e1ffd5e208a512142fbb18631.tar.gz
ports-01c759528811232e1ffd5e208a512142fbb18631.zip
-Wno-unused-result is not supported by base GCC, which made the build
fail on GCC-based architectures. PR: 233290 Submitted by: Piotr Kubaj Approved by: portmgr (tier-2 blanket)
Notes
Notes: svn path=/head/; revision=485741
Diffstat (limited to 'sysutils/fusefs-libs3')
-rw-r--r--sysutils/fusefs-libs3/Makefile5
1 files changed, 5 insertions, 0 deletions
diff --git a/sysutils/fusefs-libs3/Makefile b/sysutils/fusefs-libs3/Makefile
index 20560d12cdfd..e832c6b3f4e1 100644
--- a/sysutils/fusefs-libs3/Makefile
+++ b/sysutils/fusefs-libs3/Makefile
@@ -27,4 +27,9 @@ GH_TAGNAME= 11d9ed6
IGNORE= fusefs has not been implemented on DragonFly
.endif
+post-patch:
+.if ${ARCH:Mmips*} || ${ARCH:Mpowerpc*} || ${ARCH} == sparc64
+ ${REINPLACE_CMD} -e '/-Wno-unused-result/d' ${WRKSRC}/meson.build
+.endif
+
.include <bsd.port.post.mk>