aboutsummaryrefslogtreecommitdiffstats
path: root/games/freetennis
diff options
context:
space:
mode:
authorstas <stas@FreeBSD.org>2010-04-09 18:09:50 +0800
committerstas <stas@FreeBSD.org>2010-04-09 18:09:50 +0800
commit9277154552891167cbd94240a6857e6ce744a59f (patch)
tree0a928cf7021ac0cf8f78034d43105a45e5123e0f /games/freetennis
parent7cdb5fd9d9234b2ef290977a32dc6a7188684280 (diff)
downloadfreebsd-ports-gnome-9277154552891167cbd94240a6857e6ce744a59f.tar.gz
freebsd-ports-gnome-9277154552891167cbd94240a6857e6ce744a59f.tar.zst
freebsd-ports-gnome-9277154552891167cbd94240a6857e6ce744a59f.zip
- Fix build with new ocaml-images.
Diffstat (limited to 'games/freetennis')
-rw-r--r--games/freetennis/Makefile4
-rw-r--r--games/freetennis/files/patch-Makefile6
2 files changed, 4 insertions, 6 deletions
diff --git a/games/freetennis/Makefile b/games/freetennis/Makefile
index defbcb96363c..1fdaf206893c 100644
--- a/games/freetennis/Makefile
+++ b/games/freetennis/Makefile
@@ -18,11 +18,9 @@ BUILD_DEPENDS= ocamlopt:${PORTSDIR}/lang/ocaml \
${OCAML_DEPENDS}
RUN_DEPENDS= ${OCAML_DEPENDS}
-BROKEN= does not build
-
OCAML_DEPENDS= ${LOCALBASE}/lib/ocaml/lablgtk2/gtk.ml:${PORTSDIR}/x11-toolkits/ocaml-lablgtk2 \
${LOCALBASE}/lib/ocaml/lablGL/gl.ml:${PORTSDIR}/graphics/ocaml-lablgl \
- ${LOCALBASE}/lib/ocaml/camlimages/oImages.cmx:${PORTSDIR}/graphics/ocaml-images \
+ ${LOCALBASE}/lib/ocaml/site-lib/camlimages/camlimages.a:${PORTSDIR}/graphics/ocaml-images \
${LOCALBASE}/lib/ocaml/site-lib/sdl/sdl.mli:${PORTSDIR}/devel/ocaml-sdl
USE_BZIP2= yes
diff --git a/games/freetennis/files/patch-Makefile b/games/freetennis/files/patch-Makefile
index 04cb3387eb63..405bb49683f5 100644
--- a/games/freetennis/files/patch-Makefile
+++ b/games/freetennis/files/patch-Makefile
@@ -1,7 +1,7 @@
---- Makefile.orig Wed Mar 7 15:50:40 2007
-+++ Makefile Wed Mar 7 15:51:29 2007
+--- Makefile.orig 2005-11-21 13:20:33.000000000 -0800
++++ Makefile 2010-04-09 02:58:00.000000000 -0700
@@ -1,3 +1,3 @@
# add -noassert for speedup
all: freetennis.ml
- ocamlopt -I +camlimages -I +lablGL -I +lablgtk2 -I +sdl -o freetennis bigarray.cmxa sdl.cmxa lablgtk.cmxa lablgl.cmxa ci_core.cmxa sdlmixer.cmxa sdlttf.cmxa unix.cmxa freetennis.ml
-+ ocamlopt -noassert -cclib -pthread -I +camlimages -I +lablGL -I +lablgtk2 -I +site-lib/sdl -o freetennis bigarray.cmxa sdl.cmxa lablgtk.cmxa lablgl.cmxa ci_core.cmxa sdlmixer.cmxa sdlttf.cmxa unix.cmxa freetennis.ml
++ ocamlopt -noassert -cclib -pthread -I +site-lib/camlimages -I +lablGL -I +lablgtk2 -I +site-lib/sdl -o freetennis bigarray.cmxa sdl.cmxa lablgtk.cmxa lablgl.cmxa camlimages_core.cmxa sdlmixer.cmxa sdlttf.cmxa unix.cmxa freetennis.ml