Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 24 Nov 2018 09:24:41 +0000 (UTC)
From:      Mark Linimon <linimon@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r485741 - head/sysutils/fusefs-libs3
Message-ID:  <201811240924.wAO9OfO7050349@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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>



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