From b889e22f76e530eba2d43fef91d9217312832e3e Mon Sep 17 00:00:00 2001 From: joerg Date: Tue, 23 Dec 2014 18:52:54 +0000 Subject: Fix build with clang. --- ham/xlog/Makefile | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'ham/xlog/Makefile') 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" -- cgit v1.2.3