summaryrefslogtreecommitdiff
path: root/editors/mined/Makefile
diff options
context:
space:
mode:
authorjoerg <joerg>2012-06-25 11:27:08 +0000
committerjoerg <joerg>2012-06-25 11:27:08 +0000
commitaa245d850241f131d64b7443238bf82893339de0 (patch)
tree18d931a3fe56c895264f51a97d323b53b7635fd6 /editors/mined/Makefile
parentbf439ec49c1aa3132f7a00ada7eb542a46778632 (diff)
downloadpkgsrc-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/Makefile9
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"