From owner-svn-ports-all@freebsd.org Tue Nov 27 20:11:11 2018 Return-Path: Delivered-To: svn-ports-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 7CA82115AA70; Tue, 27 Nov 2018 20:11:11 +0000 (UTC) (envelope-from linimon@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 237186B5A0; Tue, 27 Nov 2018 20:11:11 +0000 (UTC) (envelope-from linimon@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 046462023C; Tue, 27 Nov 2018 20:11:11 +0000 (UTC) (envelope-from linimon@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id wARKBAw9050204; Tue, 27 Nov 2018 20:11:10 GMT (envelope-from linimon@FreeBSD.org) Received: (from linimon@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id wARKBAwb050203; Tue, 27 Nov 2018 20:11:10 GMT (envelope-from linimon@FreeBSD.org) Message-Id: <201811272011.wARKBAwb050203@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: linimon set sender to linimon@FreeBSD.org using -f From: Mark Linimon Date: Tue, 27 Nov 2018 20:11:10 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r486061 - head/devel/libpru X-SVN-Group: ports-head X-SVN-Commit-Author: linimon X-SVN-Commit-Paths: head/devel/libpru X-SVN-Commit-Revision: 486061 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Rspamd-Queue-Id: 237186B5A0 X-Spamd-Result: default: False [1.32 / 15.00]; local_wl_from(0.00)[FreeBSD.org]; NEURAL_SPAM_LONG(0.47)[0.465,0]; NEURAL_SPAM_MEDIUM(0.64)[0.643,0]; NEURAL_SPAM_SHORT(0.21)[0.213,0] X-Rspamd-Server: mx1.freebsd.org X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 27 Nov 2018 20:11:11 -0000 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 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