svn commit: r485741 - head/sysutils/fusefs-libs3
Mark Linimon
linimon at FreeBSD.org
Sat Nov 24 09:24:42 UTC 2018
Author: linimon
Date: Sat Nov 24 09:24:41 2018
New Revision: 485741
URL: https://svnweb.freebsd.org/changeset/ports/485741
Log:
-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)
Modified:
head/sysutils/fusefs-libs3/Makefile
Modified: head/sysutils/fusefs-libs3/Makefile
==============================================================================
--- head/sysutils/fusefs-libs3/Makefile Sat Nov 24 09:19:35 2018 (r485740)
+++ head/sysutils/fusefs-libs3/Makefile Sat Nov 24 09:24:41 2018 (r485741)
@@ -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>
More information about the svn-ports-all
mailing list