summaryrefslogtreecommitdiff
path: root/ham/xlog/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'ham/xlog/Makefile')
-rw-r--r--ham/xlog/Makefile9
1 files changed, 8 insertions, 1 deletions
diff --git a/ham/xlog/Makefile b/ham/xlog/Makefile
index 18cdef9ee80..ed20704b9ec 100644
--- a/ham/xlog/Makefile
+++ b/ham/xlog/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.62 2014/12/15 08:36:40 mef Exp $
+# $NetBSD: Makefile,v 1.63 2014/12/23 18:52:54 joerg Exp $
#
DISTNAME= xlog-2.0.12
@@ -18,6 +18,13 @@ USE_TOOLS+= gmake pkg-config
CONFIGURE_ARGS+= --enable-hamlib
+.include "../../mk/compiler.mk"
+.if !empty(PKGSRC_COMPILER:Mclang)
+BUILDLINK_TRANSFORM+= rm:-Wno-unused-but-set-variable
+_WRAP_EXTRA_ARGS.CC+= -Wno-error=parentheses-equality -Wno-error=tautological-compare
+CWRAPPERS_APPEND.cc+= -Wno-error=parentheses-equality -Wno-error=tautological-compare
+.endif
+
.include "../../databases/shared-mime-info/buildlink3.mk"
.include "../../ham/hamlib/buildlink3.mk"
.include "../../x11/gtk2/buildlink3.mk"