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