diff options
author | joerg <joerg@pkgsrc.org> | 2014-12-23 18:52:54 +0000 |
---|---|---|
committer | joerg <joerg@pkgsrc.org> | 2014-12-23 18:52:54 +0000 |
commit | b889e22f76e530eba2d43fef91d9217312832e3e (patch) | |
tree | 3ea6eda5b2642546f7b7b2e2199d004f3c1a04a3 /ham/xlog/Makefile | |
parent | e22e4cd784ef45195b382ac506196f0d494afd94 (diff) | |
download | pkgsrc-b889e22f76e530eba2d43fef91d9217312832e3e.tar.gz |
Fix build with clang.
Diffstat (limited to 'ham/xlog/Makefile')
-rw-r--r-- | ham/xlog/Makefile | 9 |
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" |