Date: Wed, 19 Sep 2007 10:10:18 +0600 From: "Denis Eremenko <moonshade@pnhz.kz>" <moonshade@pnhz.kz> To: "FreeBSD gnats submit" <FreeBSD-gnats-submit@FreeBSD.org> Subject: ports/116454: net/unison: should depend on X11-enabled ocaml when built WITH_GTK2 Message-ID: <1190175018.28131@abyss.pnhz.kz> Resent-Message-ID: <200709190430.l8J4U1O7008315@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 116454 >Category: ports >Synopsis: net/unison: should depend on X11-enabled ocaml when built WITH_GTK2 >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Wed Sep 19 04:30:01 GMT 2007 >Closed-Date: >Last-Modified: >Originator: Denis Eremenko <moonshade@pnhz.kz> >Release: FreeBSD 6.2-STABLE i386 >Organization: >Environment: System: FreeBSD 6.2-STABLE #0: Mon Sep 17 15:13:10 ALMT 2007 root@abyss.pnhz.kz:/usr/obj/data/os/FreeBSD/src/6/src/sys/ABYSS-6 >Description: net/unison depend on ocaml-nox11, but its BUILD_DEPEND, x11-toolkits/ocaml-lablgtk2, fails when net/unison built WITH_GTK2. >How-To-Repeat: cd /usr/port/net/unison && make WITH_GTK2=yes >Fix: --- Makefile-patch begins here --- --- Makefile.orig 2007-09-19 09:49:28.000000000 +0600 +++ Makefile 2007-09-19 09:50:50.000000000 +0600 @@ -17,9 +17,6 @@ MAINTAINER= daniel+unison@pelleg.org COMMENT= A user-level file synchronization tool -BUILD_DEPENDS= ocamlc:${PORTSDIR}/lang/ocaml-nox11 -PATCH_DEPENDS= ${BUILD_DEPENDS} - PLIST_SUB= PORTVERSION=${PORTVERSION} USE_GMAKE= yes MAKE_ARGS= CFLAGS="" @@ -44,6 +41,8 @@ .else MAKE_ARGS+= UISTYLE=text PLIST_SUB+= TEXT="@comment " +BUILD_DEPENDS= ocamlc:${PORTSDIR}/lang/ocaml-nox11 +PATCH_DEPENDS= ${BUILD_DEPENDS} .endif .if defined(WITH_GTK2) --- Makefile-patch ends here --- >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1190175018.28131>