diff options
author | Stanislav Sedov <stas@FreeBSD.org> | 2006-11-01 22:07:36 +0000 |
---|---|---|
committer | Stanislav Sedov <stas@FreeBSD.org> | 2006-11-01 22:07:36 +0000 |
commit | 348cef471dc520b07f3435fd6b4e366ae7650993 (patch) | |
tree | 2333541faf17a2e6675589352ef83ca08e2f12c4 /lang/gforth | |
parent | Add forgotten bits of devel/lua-gettext (diff) |
- Add ffcall support [1]
- Mark broken on pre-7.x again as it doesn't built on pointyhat anyway
Reported by: Jason Woofenden <jason@jasonwoof.com> [1]
Notes
Notes:
svn path=/head/; revision=176128
Diffstat (limited to 'lang/gforth')
-rw-r--r-- | lang/gforth/Makefile | 16 |
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: |