From 7efd75e931989d590869ad1cb1c2be176fcf9f11 Mon Sep 17 00:00:00 2001 From: joerg Date: Tue, 25 Dec 2012 21:00:31 +0000 Subject: Stop clang from complaining about non-UTF8 source code. --- wm/fluxconf/Makefile | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'wm/fluxconf') 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" -- cgit v1.2.3