summaryrefslogtreecommitdiff
path: root/pkgtools
diff options
context:
space:
mode:
authorbsiegert <bsiegert@pkgsrc.org>2016-05-23 05:06:42 +0000
committerbsiegert <bsiegert@pkgsrc.org>2016-05-23 05:06:42 +0000
commit1ef63db0dc9d51024d3fee58278e8b881cec04da (patch)
treee8bde7995e4bae07c9342372bb296a169bb57f47 /pkgtools
parentdcd6128fd25864d54a75da76f245c17650ebcde5 (diff)
downloadpkgsrc-1ef63db0dc9d51024d3fee58278e8b881cec04da.tar.gz
Pullup ticket #5002 - requested by joerg
pkgtools/pkg_select: build fix Revisions pulled up: - pkgtools/pkg_select/Makefile 1.23 --- Module Name: pkgsrc Committed By: joerg Date: Sat May 7 10:08:30 UTC 2016 Modified Files: pkgsrc/pkgtools/pkg_select: Makefile Log Message: Disable noisy warning for GCC.
Diffstat (limited to 'pkgtools')
-rw-r--r--pkgtools/pkg_select/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/pkgtools/pkg_select/Makefile b/pkgtools/pkg_select/Makefile
index b7d07d75d60..e94c689f468 100644
--- a/pkgtools/pkg_select/Makefile
+++ b/pkgtools/pkg_select/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.22 2015/08/18 07:31:16 wiz Exp $
+# $NetBSD: Makefile,v 1.22.6.1 2016/05/23 05:06:42 bsiegert Exp $
#
DISTNAME= pkg_select-20090308
@@ -22,6 +22,8 @@ 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
SUBST_CLASSES+= path