Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 27 Nov 2018 20:11:10 +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: r486061 - head/devel/libpru
Message-ID:  <201811272011.wARKBAwb050203@repo.freebsd.org>

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



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