1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-24 04:33:24 +00:00

Disable gtk1 support which depends on ocaml-lablgtk which is expired

Feature safe:	yes
This commit is contained in:
Baptiste Daroussin 2012-10-27 20:06:23 +00:00
parent ca8382cf26
commit 5647a3085b
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=306529

View File

@ -48,12 +48,13 @@ OCAML_LDLIBS= ${OCAML_PKGDIRS:S/^/${OCAML_SITELIBDIR}\//}
OPTIONS= SSL "Enable SSL support" ON \
NETHTTPD "Enable the integrated HTTP daemon" OFF \
AUTH_DH "Enable Diffie-Hellman authorization support" OFF \
GTK "Enable GTK support" OFF \
GTK2 "Enable GTK2 support" OFF \
APACHE "Enable Apache mod connector (experimental)" OFF \
ZIP "Enable compression support" OFF \
SCRAM "Enable SCRAM support" OFF
CONFIGURE_ARGS+= -disable-gtk
.include <bsd.port.options.mk>
.if defined(WITHOUT_SSL)
@ -81,15 +82,6 @@ OCAML_PKGDIRS+= rpc-auth-dh
CONFIGURE_ARGS+= -without-rpc-auth-dh
.endif
.if defined(WITH_GTK)
CONFIGURE_ARGS+= -enable-gtk
BUILD_DEPENDS+= lablgtk:${PORTSDIR}/x11-toolkits/ocaml-lablgtk
RUN_DEPENDS+= lablgtk:${PORTSDIR}/x11-toolkits/ocaml-lablgtk
OCAML_PKGDIRS+= equeue-gtk1
.else
CONFIGURE_ARGS+= -disable-gtk
.endif
.if defined(WITH_GTK2)
CONFIGURE_ARGS+= -enable-gtk2
BUILD_DEPENDS+= lablgtk2:${PORTSDIR}/x11-toolkits/ocaml-lablgtk2