aboutsummaryrefslogtreecommitdiff
path: root/devel
diff options
context:
space:
mode:
authorMark Linimon <linimon@FreeBSD.org>2018-11-02 01:35:51 +0000
committerMark Linimon <linimon@FreeBSD.org>2018-11-02 01:35:51 +0000
commitbeca126f7cf2cf5bad9c0635553a34ced9e4a0bf (patch)
tree59ec59c6790aa71c6313e7a1eb39d5c393f8f569 /devel
parent966ab1d25b6210b26a395650c8a18fa5e4d60ea9 (diff)
downloadports-beca126f7cf2cf5bad9c0635553a34ced9e4a0bf.tar.gz
ports-beca126f7cf2cf5bad9c0635553a34ced9e4a0bf.zip
Notes
Diffstat (limited to 'devel')
-rw-r--r--devel/libpru/Makefile14
1 files changed, 8 insertions, 6 deletions
diff --git a/devel/libpru/Makefile b/devel/libpru/Makefile
index 09f5eefca9c2..836f909029fc 100644
--- a/devel/libpru/Makefile
+++ b/devel/libpru/Makefile
@@ -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>