aboutsummaryrefslogtreecommitdiffstats
path: root/graphics
diff options
context:
space:
mode:
authorbapt <bapt@FreeBSD.org>2012-10-28 04:03:57 +0800
committerbapt <bapt@FreeBSD.org>2012-10-28 04:03:57 +0800
commitb4793edd161acb0e75dda43c4e1902074c772fc8 (patch)
treece03c74046c03959bbaa710279fc000767e8c646 /graphics
parent0c241b1bdeee4cdf0f4e349f7d0504cb03f1d26f (diff)
downloadfreebsd-ports-gnome-b4793edd161acb0e75dda43c4e1902074c772fc8.tar.gz
freebsd-ports-gnome-b4793edd161acb0e75dda43c4e1902074c772fc8.tar.zst
freebsd-ports-gnome-b4793edd161acb0e75dda43c4e1902074c772fc8.zip
Disable gtk1 support which depends on ocaml-lablgtk which is expired
Feature safe: yes
Diffstat (limited to 'graphics')
-rw-r--r--graphics/ocaml-images/Makefile16
1 files changed, 2 insertions, 14 deletions
diff --git a/graphics/ocaml-images/Makefile b/graphics/ocaml-images/Makefile
index c89e0469b0ee..3da8c7ba4a6f 100644
--- a/graphics/ocaml-images/Makefile
+++ b/graphics/ocaml-images/Makefile
@@ -36,6 +36,7 @@ USE_OCAML_LDCONFIG= yes
CPPFLAGS+= -I${LOCALBASE}/include
CFLAGS+= -I${LOCALBASE}/include/libpng15
LDFLAGS+= -L${LOCALBASE}/lib
+CONFIGURE_ARGS+= --without-lablgtk
MAKE_JOBS_UNSAFE= yes
OPTIONS= PNG "Enable PNG support" on \
@@ -45,8 +46,7 @@ OPTIONS= PNG "Enable PNG support" on \
GIF "Enable GIF support" on \
FREETYPE "Enable text rendering via freetype" on \
GS "Enable PostScript support via Ghostscript" on \
- GTK1 "Enable LablGTK1 support" off \
- GTK2 "Enable LablGTK2 support (conflicts with LablGTK1)" off
+ GTK2 "Enable LablGTK2 support" off
.include <bsd.port.options.mk>
@@ -99,18 +99,6 @@ CONFIGURE_ARGS+= --with-gs
CONFIGURE_ARGS+= --without-gs
.endif
-.if defined(WITH_GTK1) && defined(WITH_GTK2)
-IGNORE= you should select either LablGTK1 or LablGTK2, but not both
-.endif
-
-.if defined(WITH_GTK1)
-CONFIGURE_ARGS+= --with-lablgtk
-BUILD_DEPENDS+= lablgtk:${PORTSDIR}/x11-toolkits/ocaml-lablgtk
-RUN_DEPENDS+= lablgtk:${PORTSDIR}/x11-toolkits/ocaml-lablgtk
-.else
-CONFIGURE_ARGS+= --without-lablgtk
-.endif
-
.if defined(WITH_GTK2)
CONFIGURE_ARGS+= --with-lablgtk2
BUILD_DEPENDS+= lablgtk2:${PORTSDIR}/x11-toolkits/ocaml-lablgtk2