diff options
author | Volker Stolz <vs@FreeBSD.org> | 2006-01-10 09:51:24 +0000 |
---|---|---|
committer | Volker Stolz <vs@FreeBSD.org> | 2006-01-10 09:51:24 +0000 |
commit | 5be3789c091c0fa047ac9637549b61b0dcd7502f (patch) | |
tree | d227535907b7cb85775c0a1964ad065c62f29876 /lang/gprolog | |
parent | 4944b45d1d23df62369b7486eb29e6054b98b339 (diff) | |
download | ports-5be3789c091c0fa047ac9637549b61b0dcd7502f.tar.gz ports-5be3789c091c0fa047ac9637549b61b0dcd7502f.zip |
Notes
Diffstat (limited to 'lang/gprolog')
-rw-r--r-- | lang/gprolog/Makefile | 8 | ||||
-rw-r--r-- | lang/gprolog/pkg-plist | 10 |
2 files changed, 11 insertions, 7 deletions
diff --git a/lang/gprolog/Makefile b/lang/gprolog/Makefile index a4e0b385123e..229d45a9dafa 100644 --- a/lang/gprolog/Makefile +++ b/lang/gprolog/Makefile @@ -36,8 +36,12 @@ PLIST_SUB+= GPROLOG_VER=${PORTVERSION} .include <bsd.port.pre.mk> -.if ${OSVERSION} >= 600000 -BROKEN= "Does not build on FreeBSD >= 6.0" +.if (${OSVERSION} >= 600000) || defined(WITHOUT_FD) +CONFIGURE_ARGS+=--disable-fd-solver +PLIST_SUB+= FD="@comment " +PKGNAMESUFFIX= -nofd +.else +PLIST_SUB+= FD="" .endif .if ${OSVERSION} >= 502126 diff --git a/lang/gprolog/pkg-plist b/lang/gprolog/pkg-plist index b80715811dbb..93034a5c8946 100644 --- a/lang/gprolog/pkg-plist +++ b/lang/gprolog/pkg-plist @@ -1,4 +1,4 @@ -bin/fd2c +%%FD%%bin/fd2c bin/gplc bin/gprolog bin/hexgplc @@ -11,7 +11,7 @@ gprolog-%%GPROLOG_VER%%/bin/gprolog gprolog-%%GPROLOG_VER%%/bin/pl2wam gprolog-%%GPROLOG_VER%%/bin/wam2ma gprolog-%%GPROLOG_VER%%/bin/ma2asm -gprolog-%%GPROLOG_VER%%/bin/fd2c +%%FD%%gprolog-%%GPROLOG_VER%%/bin/fd2c gprolog-%%GPROLOG_VER%%/include/gprolog.h gprolog-%%GPROLOG_VER%%/include/fd_to_c.h gprolog-%%GPROLOG_VER%%/lib/obj_begin.o @@ -19,11 +19,11 @@ gprolog-%%GPROLOG_VER%%/lib/obj_end.o gprolog-%%GPROLOG_VER%%/lib/top_level.o gprolog-%%GPROLOG_VER%%/lib/all_pl_bips.o gprolog-%%GPROLOG_VER%%/lib/debugger.o -gprolog-%%GPROLOG_VER%%/lib/all_fd_bips.o +%%FD%%gprolog-%%GPROLOG_VER%%/lib/all_fd_bips.o gprolog-%%GPROLOG_VER%%/lib/libengine_pl.a gprolog-%%GPROLOG_VER%%/lib/libbips_pl.a -gprolog-%%GPROLOG_VER%%/lib/libengine_fd.a -gprolog-%%GPROLOG_VER%%/lib/libbips_fd.a +%%FD%%gprolog-%%GPROLOG_VER%%/lib/libengine_fd.a +%%FD%%gprolog-%%GPROLOG_VER%%/lib/libbips_fd.a gprolog-%%GPROLOG_VER%%/lib/liblinedit.a gprolog-%%GPROLOG_VER%%/COPYING gprolog-%%GPROLOG_VER%%/VERSION |