Index: head/devel/libpru/Makefile =================================================================== --- head/devel/libpru/Makefile (revision 483757) +++ head/devel/libpru/Makefile (revision 483758) @@ -1,23 +1,25 @@ # $FreeBSD$ PORTNAME= libpru PORTVERSION= 0.4 CATEGORIES= devel MASTER_SITES= https://bitbucket.org/rpaulo/libpru/get/ MAINTAINER= ports@FreeBSD.org 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 +.include + +post-patch: +.if ${ARCH:Mmips*} || ${ARCH:Mpowerpc*} || ${ARCH} == sparc64 + ${REINPLACE_CMD} -e 's/ -Weverything//' ${WRKSRC}/CMakeLists.txt +.endif + +.include