diff options
author | joerg <joerg> | 2012-06-25 11:27:08 +0000 |
---|---|---|
committer | joerg <joerg> | 2012-06-25 11:27:08 +0000 |
commit | aa245d850241f131d64b7443238bf82893339de0 (patch) | |
tree | 18d931a3fe56c895264f51a97d323b53b7635fd6 /editors/mined/Makefile | |
parent | bf439ec49c1aa3132f7a00ada7eb542a46778632 (diff) | |
download | pkgsrc-aa245d850241f131d64b7443238bf82893339de0.tar.gz |
Disable character set warning for Clang, it produces over 8GB output
otherwise.
Diffstat (limited to 'editors/mined/Makefile')
-rw-r--r-- | editors/mined/Makefile | 9 |
1 files changed, 8 insertions, 1 deletions
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" |