summaryrefslogtreecommitdiff
path: root/pkgtools/pkg_select
diff options
context:
space:
mode:
authornia <nia@pkgsrc.org>2019-09-07 23:18:57 +0000
committernia <nia@pkgsrc.org>2019-09-07 23:18:57 +0000
commitbfbb491eca69fcea46007d8e8d834d98bd819106 (patch)
tree1d64cd36bef91bcf9864eaa7f310958abb36c01e /pkgtools/pkg_select
parentb3b996b5d48970a47549d75c34abfe4eed0682ad (diff)
downloadpkgsrc-bfbb491eca69fcea46007d8e8d834d98bd819106.tar.gz
pkg_select: remove Werror, helps building on netbsd-current
Diffstat (limited to 'pkgtools/pkg_select')
-rw-r--r--pkgtools/pkg_select/Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/pkgtools/pkg_select/Makefile b/pkgtools/pkg_select/Makefile
index 94b4d04b2be..b31322d312f 100644
--- a/pkgtools/pkg_select/Makefile
+++ b/pkgtools/pkg_select/Makefile
@@ -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 @@ CONF_FILES= ${EXAMPLEDIR}/${PKGBASE}.conf.example \
.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.