svn commit: r486061 - head/devel/libpru
Mark Linimon
linimon at FreeBSD.org
Tue Nov 27 20:11:11 UTC 2018
Author: linimon
Date: Tue Nov 27 20:11:10 2018
New Revision: 486061
URL: https://svnweb.freebsd.org/changeset/ports/486061
Log:
Remove -Weverything unconditionally. This will affect tier-1 users who
prefer gcc.
Also turn off -Werror for gcc for tier-2 archs.
Reported by: jbeich
Reviewed by: mat
Modified:
head/devel/libpru/Makefile
Modified: head/devel/libpru/Makefile
==============================================================================
--- head/devel/libpru/Makefile Tue Nov 27 20:05:48 2018 (r486060)
+++ head/devel/libpru/Makefile Tue Nov 27 20:11:10 2018 (r486061)
@@ -11,15 +11,16 @@ COMMENT= Library to interface with PRUs
LICENSE= BSD2CLAUSE
IGNORE_DragonFly= only supported on FreeBSD
-USES= cmake
+USES= cmake compiler
WRKSRC= ${WRKDIR}/rpaulo-libpru-5a74157b82b8
.include <bsd.port.pre.mk>
post-patch:
-.if ${ARCH:Mmips*} || ${ARCH:Mpowerpc*} || ${ARCH} == sparc64
${REINPLACE_CMD} -e 's/ -Weverything//' ${WRKSRC}/CMakeLists.txt
+.if ${CHOSEN_COMPILER_TYPE} == gcc
+ ${REINPLACE_CMD} -e 's/ -Werror//' ${WRKSRC}/CMakeLists.txt
.endif
.include <bsd.port.post.mk>
More information about the svn-ports-all
mailing list