diff options
author | joerg <joerg> | 2012-12-25 21:00:31 +0000 |
---|---|---|
committer | joerg <joerg> | 2012-12-25 21:00:31 +0000 |
commit | 45ed6fdc7e0dbef26590d6320f02af866844e687 (patch) | |
tree | d6029596c76fa2930b63b93f9785be8681f30e15 /wm | |
parent | eb1a95400d4417c27974baa016d9eb6c4d1e7dcc (diff) | |
download | pkgsrc-45ed6fdc7e0dbef26590d6320f02af866844e687.tar.gz |
Stop clang from complaining about non-UTF8 source code.
Diffstat (limited to 'wm')
-rw-r--r-- | wm/fluxconf/Makefile | 7 |
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" |