Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 2 Nov 2018 01:35:52 +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: r483758 - head/devel/libpru
Message-ID:  <201811020135.wA21ZqbL037253@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: linimon
Date: Fri Nov  2 01:35:51 2018
New Revision: 483758
URL: https://svnweb.freebsd.org/changeset/ports/483758

Log:
  Fix build with GCC-based architectures.
  
  PR:		232851
  Submitted by:	Piotr Kubaj

Modified:
  head/devel/libpru/Makefile

Modified: head/devel/libpru/Makefile
==============================================================================
--- head/devel/libpru/Makefile	Fri Nov  2 01:34:15 2018	(r483757)
+++ head/devel/libpru/Makefile	Fri Nov  2 01:35:51 2018	(r483758)
@@ -11,13 +11,15 @@ COMMENT=	Library to interface with PRUs
 LICENSE=	BSD2CLAUSE
 
 IGNORE_DragonFly=	only supported on FreeBSD
-BROKEN_mips=	Does not build: unrecognized command line option -Weverything
-BROKEN_mips64=	Does not build: unrecognized command line option -Weverything
-BROKEN_powerpc64=	Does not build: unrecognized command line option -Weverything
-BROKEN_sparc64=	Does not build: unrecognized command line option -Weverything
-
 USES=		cmake
 
 WRKSRC=		${WRKDIR}/rpaulo-libpru-5a74157b82b8
 
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+post-patch:
+.if ${ARCH:Mmips*} || ${ARCH:Mpowerpc*} || ${ARCH} == sparc64
+	${REINPLACE_CMD} -e 's/ -Weverything//'  ${WRKSRC}/CMakeLists.txt
+.endif
+
+.include <bsd.port.post.mk>



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