pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/pkgtools/pkg_select pkg_select: remove Werror, helps b...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/7fa46b95a7e0
branches:  trunk
changeset: 339174:7fa46b95a7e0
user:      nia <nia%pkgsrc.org@localhost>
date:      Sat Sep 07 23:18:57 2019 +0000

description:
pkg_select: remove Werror, helps building on netbsd-current

diffstat:

 pkgtools/pkg_select/Makefile |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (22 lines):

diff -r a815d2fbcddf -r 7fa46b95a7e0 pkgtools/pkg_select/Makefile
--- a/pkgtools/pkg_select/Makefile      Sat Sep 07 22:20:32 2019 +0000
+++ b/pkgtools/pkg_select/Makefile      Sat Sep 07 23:18:57 2019 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.26 2017/12/29 17:55:13 maya Exp $
+# $NetBSD: Makefile,v 1.27 2019/09/07 23:18:57 nia Exp $
 #
 
 DISTNAME=      pkg_select-20090308
@@ -22,10 +22,10 @@
 .include "../../mk/compiler.mk"
 .if !empty(PKGSRC_COMPILER:Mclang)
 BUILDLINK_TRANSFORM+=  rm:-Wno-traditional
-.elif !empty(PKGSRC_COMPILER:Mgcc)
-CFLAGS+=               -Wno-error=unused-but-set-variable
 .endif
 
+BUILDLINK_TRANSFORM+=  rm:-Werror
+
 SUBST_CLASSES+=                path
 SUBST_STAGE.path=      pre-configure
 SUBST_MESSAGE.path=    Adjusting path.



Home | Main Index | Thread Index | Old Index