diff options
-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 |