Received: by mail.netbsd.org (Postfix, from userid 605) id 43BFB84DB7; Fri, 6 Mar 2020 11:33:35 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mail.netbsd.org (Postfix) with ESMTP id C063A84D83 for ; Fri, 6 Mar 2020 11:33:34 +0000 (UTC) X-Virus-Scanned: amavisd-new at netbsd.org Received: from mail.netbsd.org ([IPv6:::1]) by localhost (mail.netbsd.org [IPv6:::1]) (amavisd-new, port 10025) with ESMTP id t38wYd2GHjA4 for ; Fri, 6 Mar 2020 11:33:34 +0000 (UTC) Received: from cvs.NetBSD.org (ivanova.netbsd.org [199.233.217.197]) by mail.netbsd.org (Postfix) with ESMTP id 4EE8E84CE2 for ; Fri, 6 Mar 2020 11:33:34 +0000 (UTC) Received: by cvs.NetBSD.org (Postfix, from userid 500) id 46612FB27; Fri, 6 Mar 2020 11:33:34 +0000 (UTC) Content-Transfer-Encoding: 7bit Content-Type: multipart/mixed; boundary="_----------=_1583494414299300" MIME-Version: 1.0 Date: Fri, 6 Mar 2020 11:33:34 +0000 From: "Nia Alarie" Subject: CVS commit: pkgsrc/devel/elftoolchain To: pkgsrc-changes@NetBSD.org Reply-To: nia@netbsd.org X-Mailer: log_accum Message-Id: <20200306113334.46612FB27@cvs.NetBSD.org> Sender: pkgsrc-changes-owner@NetBSD.org List-Id: pkgsrc-changes.NetBSD.org Precedence: bulk List-Unsubscribe: This is a multi-part message in MIME format. --_----------=_1583494414299300 Content-Disposition: inline Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="US-ASCII" Module Name: pkgsrc Committed By: nia Date: Fri Mar 6 11:33:34 UTC 2020 Modified Files: pkgsrc/devel/elftoolchain: Makefile Log Message: elftoolchain: Strip Werror the lazy way. we can't assume that newer compilers won't add new warnings, and indeed this package fails with gcc7+ currently. To generate a diff of this commit: cvs rdiff -u -r1.15 -r1.16 pkgsrc/devel/elftoolchain/Makefile Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. --_----------=_1583494414299300 Content-Disposition: inline Content-Length: 1402 Content-Transfer-Encoding: binary Content-Type: text/x-diff; charset=us-ascii Modified files: Index: pkgsrc/devel/elftoolchain/Makefile diff -u pkgsrc/devel/elftoolchain/Makefile:1.15 pkgsrc/devel/elftoolchain/Makefile:1.16 --- pkgsrc/devel/elftoolchain/Makefile:1.15 Sat Jan 18 23:30:27 2020 +++ pkgsrc/devel/elftoolchain/Makefile Fri Mar 6 11:33:34 2020 @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.15 2020/01/18 23:30:27 rillig Exp $ +# $NetBSD: Makefile,v 1.16 2020/03/06 11:33:34 nia Exp $ DISTNAME= elftoolchain-0.7.1 CATEGORIES= devel @@ -21,19 +21,6 @@ USE_TOOLS+= m4 lex MAKE_ENV+= ${BSD_MAKE_ENV} MAKE_FLAGS+= MKPROFILE=yes MAKE_FLAGS+= INCSDIR=${PREFIX}/include - -.include "../../mk/compiler.mk" -.if !empty(PKGSRC_COMPILER:Mgcc) -CWARNFLAGS+= -Wno-error=sign-conversion \ - -Wno-error=conversion \ - -Wno-error=unused-but-set-variable \ - -Wno-error=old-style-definition \ - -Wno-error=shift-negative-value -.elif !empty(PKGSRC_COMPILER:Mclang) -CWARNFLAGS+= -Wno-error=missing-noreturn \ - -Wno-error=constant-logical-operand \ - -Wno-error=conversion -Wno-error=cast-qual -.endif MAKE_FLAGS+= CWARNFLAGS=${CWARNFLAGS:Q} INSTALLATION_DIRS= bin include lib @@ -41,4 +28,6 @@ INSTALLATION_DIRS+= ${PKGMANDIR}/man1 ${ INSTALLATION_DIRS+= ${PKGMANDIR}/man3 ${PKGMANDIR}/cat3 ${PKGMANDIR}/html3 INSTALLATION_DIRS+= ${PKGMANDIR}/man5 ${PKGMANDIR}/cat5 ${PKGMANDIR}/html5 +BUILDLINK_TRANSFORM+= rm:-Werror + .include "../../mk/bsd.pkg.mk" --_----------=_1583494414299300--