diff options
author | joerg <joerg@pkgsrc.org> | 2012-06-25 11:27:08 +0000 |
---|---|---|
committer | joerg <joerg@pkgsrc.org> | 2012-06-25 11:27:08 +0000 |
commit | 01f53556f657673bed712a492f833b3cc05cc850 (patch) | |
tree | 18d931a3fe56c895264f51a97d323b53b7635fd6 /editors/mined | |
parent | e88a664a8124749913b4b08459dc37a9d3ed5c0f (diff) | |
download | pkgsrc-01f53556f657673bed712a492f833b3cc05cc850.tar.gz |
Disable character set warning for Clang, it produces over 8GB output
otherwise.
Diffstat (limited to 'editors/mined')
-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" |