From 01f53556f657673bed712a492f833b3cc05cc850 Mon Sep 17 00:00:00 2001 From: joerg Date: Mon, 25 Jun 2012 11:27:08 +0000 Subject: Disable character set warning for Clang, it produces over 8GB output otherwise. --- editors/mined/Makefile | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'editors/mined') diff --git a/editors/mined/Makefile b/editors/mined/Makefile index 1f83d0a88b6..d5e0afb5696 100644 --- a/editors/mined/Makefile +++ b/editors/mined/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.19 2009/04/25 11:25:42 tnn Exp $ +# $NetBSD: Makefile,v 1.20 2012/06/25 11:27:08 joerg Exp $ # DISTNAME= mined-2000.15 @@ -16,5 +16,12 @@ USE_TOOLS+= gmake post-install: ${CHMOD} -x ${DESTDIR}${PREFIX}/share/mined/conf_user/xinitrc.mined +.include "../../mk/compiler.mk" +.if !empty(PKGSRC_COMPILER:Mclang) +CFLAGS+= -Wno-invalid-source-encoding +.endif + +MAKE_FLAGS+= OPT=${CFLAGS:Q} + .include "../../devel/ncurses/buildlink3.mk" .include "../../mk/bsd.pkg.mk" -- cgit v1.2.3