1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-19 19:59:43 +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:03:57 +00:00
parent 059541aef9
commit ca8382cf26
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=306528

View File

@ -36,6 +36,7 @@ USE_OCAML_LDCONFIG= yes
CPPFLAGS+= -I${LOCALBASE}/include CPPFLAGS+= -I${LOCALBASE}/include
CFLAGS+= -I${LOCALBASE}/include/libpng15 CFLAGS+= -I${LOCALBASE}/include/libpng15
LDFLAGS+= -L${LOCALBASE}/lib LDFLAGS+= -L${LOCALBASE}/lib
CONFIGURE_ARGS+= --without-lablgtk
MAKE_JOBS_UNSAFE= yes MAKE_JOBS_UNSAFE= yes
OPTIONS= PNG "Enable PNG support" on \ OPTIONS= PNG "Enable PNG support" on \
@ -45,8 +46,7 @@ OPTIONS= PNG "Enable PNG support" on \
GIF "Enable GIF support" on \ GIF "Enable GIF support" on \
FREETYPE "Enable text rendering via freetype" on \ FREETYPE "Enable text rendering via freetype" on \
GS "Enable PostScript support via Ghostscript" on \ GS "Enable PostScript support via Ghostscript" on \
GTK1 "Enable LablGTK1 support" off \ GTK2 "Enable LablGTK2 support" off
GTK2 "Enable LablGTK2 support (conflicts with LablGTK1)" off
.include <bsd.port.options.mk> .include <bsd.port.options.mk>
@ -99,18 +99,6 @@ CONFIGURE_ARGS+= --with-gs
CONFIGURE_ARGS+= --without-gs CONFIGURE_ARGS+= --without-gs
.endif .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) .if defined(WITH_GTK2)
CONFIGURE_ARGS+= --with-lablgtk2 CONFIGURE_ARGS+= --with-lablgtk2
BUILD_DEPENDS+= lablgtk2:${PORTSDIR}/x11-toolkits/ocaml-lablgtk2 BUILD_DEPENDS+= lablgtk2:${PORTSDIR}/x11-toolkits/ocaml-lablgtk2