aboutsummaryrefslogtreecommitdiff
path: root/lang
diff options
context:
space:
mode:
Diffstat (limited to 'lang')
-rw-r--r--lang/gforth/Makefile16
1 files changed, 11 insertions, 5 deletions
diff --git a/lang/gforth/Makefile b/lang/gforth/Makefile
index f981ed97aed5..3767ae3fcc8f 100644
--- a/lang/gforth/Makefile
+++ b/lang/gforth/Makefile
@@ -7,7 +7,7 @@
PORTNAME= gforth
PORTVERSION= 0.6.2
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= lang
MASTER_SITES= ${MASTER_SITE_GNU}
MASTER_SITE_SUBDIR= gforth
@@ -27,6 +27,8 @@ EMACS_PORT_NAME?= emacs22
EMACS_NO_BUILD_DEPENDS= yes
EMACS_NO_RUN_DEPENDS= yes
+OPTIONS= FFCALL "Use ffcall" on
+
CFLAGS+= -fno-reorder-blocks -fno-inline
STRIP= #none
@@ -44,6 +46,14 @@ PORTDOCS= *
.include <bsd.port.pre.mk>
+.if !defined(WITHOUT_FFCALL)
+BUILD_DEPENDS= ${LOCALBASE}/include/avcall.h:${PORTSDIR}/devel/ffcall
+.endif
+
+.if ${OSVERSION} < 700000
+BROKEN= Does not compile on pointyhat
+.endif
+
.if ${ARCH} == i386
WORDSIZE=32
.else
@@ -56,10 +66,6 @@ BYTEORDER=b
BYTEORDER=l
.endif
-.if ${OSVERSION} < 500000
-BROKEN= Does not compile on 4.x
-.endif
-
post-install: install-doc install-el remove-empty-files remove-empty-dirs
install-doc: