diff options
author | vs <vs@FreeBSD.org> | 2006-01-10 17:51:24 +0800 |
---|---|---|
committer | vs <vs@FreeBSD.org> | 2006-01-10 17:51:24 +0800 |
commit | af526ca3bec7016c4b0e86ae431f14986e203db1 (patch) | |
tree | 18be0df7b5788b12885c9c62ef9476e6d84dc9ae /lang/gprolog | |
parent | 303caecc4c9f9d66128ae917c3cf675db608bf0f (diff) | |
download | freebsd-ports-graphics-af526ca3bec7016c4b0e86ae431f14986e203db1.tar.gz freebsd-ports-graphics-af526ca3bec7016c4b0e86ae431f14986e203db1.tar.zst freebsd-ports-graphics-af526ca3bec7016c4b0e86ae431f14986e203db1.zip |
Unbreak: Build w/o FD-solver on 6.x+
Currently I do not have the resources to find out why it's breaking
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 a4e0b385123..229d45a9daf 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 b80715811db..93034a5c894 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 |