summaryrefslogtreecommitdiff
path: root/lang/sather/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'lang/sather/Makefile')
-rw-r--r--lang/sather/Makefile9
1 files changed, 8 insertions, 1 deletions
diff --git a/lang/sather/Makefile b/lang/sather/Makefile
index 443ef58de48..8e96282c5cb 100644
--- a/lang/sather/Makefile
+++ b/lang/sather/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.52 2013/06/06 12:54:40 wiz Exp $
+# $NetBSD: Makefile,v 1.53 2013/08/30 22:36:51 joerg Exp $
DISTNAME= sather-1.2.3
PKGREVISION= 6
@@ -14,6 +14,8 @@ MAKE_JOBS_SAFE= no
USE_TOOLS+= gmake makeinfo pax perl:run
+BUILD_DEPENDS+= tradcpp-[0-9]*:../../devel/tradcpp
+
BUILD_TARGET= full optional
INFO_FILES= yes
@@ -96,6 +98,11 @@ do-install:
${INSTALL_DATA} ${WRKSRC}/Emacs/*.el \
${DESTDIR}${PREFIX}/share/emacs/site-lisp
+.include "../../mk/compiler.mk"
+.if !empty(PKGSRC_COMPILER:Mclang)
+_WRAP_EXTRA_ARGS.CC+= -Wno-error=return-type -Wno-comment -Wno-parentheses-equality
+.endif
+
.include "../../devel/boehm-gc/buildlink3.mk"
.include "../../x11/tk/buildlink3.mk"
.include "../../lang/tcl/buildlink3.mk"