summaryrefslogtreecommitdiff
path: root/wm
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2012-12-25 21:00:31 +0000
committerjoerg <joerg@pkgsrc.org>2012-12-25 21:00:31 +0000
commitd9f517b8193ccf5dcbaf289b50c2ab0096c2f1a8 (patch)
treed6029596c76fa2930b63b93f9785be8681f30e15 /wm
parent052dd4023f2869a5c4589a68d9b38025f17c625f (diff)
downloadpkgsrc-d9f517b8193ccf5dcbaf289b50c2ab0096c2f1a8.tar.gz
Stop clang from complaining about non-UTF8 source code.
Diffstat (limited to 'wm')
-rw-r--r--wm/fluxconf/Makefile7
1 files changed, 6 insertions, 1 deletions
diff --git a/wm/fluxconf/Makefile b/wm/fluxconf/Makefile
index 870a62ae586..c37565435c7 100644
--- a/wm/fluxconf/Makefile
+++ b/wm/fluxconf/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.18 2012/10/08 23:02:30 adam Exp $
+# $NetBSD: Makefile,v 1.19 2012/12/25 21:00:31 joerg Exp $
#
DISTNAME= fluxconf-0.9.9
@@ -17,6 +17,11 @@ CONFIGURE_ARGS+= --datadir=${PREFIX}/${PKGLOCALEDIR}
USE_PKGLOCALEDIR= yes
USE_TOOLS+= msgfmt pkg-config
+.include "../../mk/compiler.mk"
+.if !empty(PKGSRC_COMPILER:Mclang)
+CFLAGS+= -Wno-error=invalid-source-encoding
+.endif
+
.include "../../devel/gettext-lib/buildlink3.mk"
.include "../../x11/gtk2/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"