ports/116454: net/unison: should depend on X11-enabled ocaml when built WITH_GTK2

Denis Eremenko <moonshade@pnhz.kz> moonshade at pnhz.kz
Wed Sep 19 04:30:02 UTC 2007


>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 at 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 at 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 at 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:



More information about the freebsd-ports-bugs mailing list