From owner-freebsd-ports@FreeBSD.ORG Sat Mar 21 11:49:13 2015 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id A54FA6FA; Sat, 21 Mar 2015 11:49:13 +0000 (UTC) Received: from hades.sorbs.net (mail.sorbs.net [67.231.146.200]) by mx1.freebsd.org (Postfix) with ESMTP id 911CBC2D; Sat, 21 Mar 2015 11:49:13 +0000 (UTC) MIME-version: 1.0 Content-transfer-encoding: 7BIT Content-type: text/plain; CHARSET=US-ASCII Received: from isux.com (firewall.isux.com [213.165.190.213]) by hades.sorbs.net (Oracle Communications Messaging Server 7.0.5.29.0 64bit (built Jul 9 2013)) with ESMTPSA id <0NLK007AT6AJ7I00@hades.sorbs.net>; Sat, 21 Mar 2015 03:54:20 -0700 (PDT) Message-id: <550D4CA0.8000606@sorbs.net> Date: Sat, 21 Mar 2015 11:49:04 +0100 From: Michelle Sullivan User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X; en-US; rv:1.8.1.24) Gecko/20100301 SeaMonkey/1.1.19 To: Jeremie Le Hen Subject: Re: net/unison240 depends on lang/ocaml-nox11 References: In-reply-to: Cc: madpilot@freebsd.org, freebsd-ports@freebsd.org X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 21 Mar 2015 11:49:13 -0000 Jeremie Le Hen wrote: > Actually, I've just realized that I fixed net/unison232 in my local tree :o). > > Would you mind submitting it and applying the same for unison240? > > Here is the patch: > > Index: Makefile > =================================================================== > --- Makefile (revision 381259) > +++ Makefile (working copy) > @@ -34,20 +34,18 @@ > > .include > > +BUILD_DEPENDS+= ocamlc:${PORTSDIR}/lang/ocaml > .if ${PORT_OPTIONS:MX11} > MAKE_ARGS+= UISTYLE=gtk2 > PLIST_SUB+= TEXT="" > -BUILD_DEPENDS+= ocamlc:${PORTSDIR}/lang/ocaml \ > - lablgtk2:${PORTSDIR}/x11-toolkits/ocaml-lablgtk2 \ > +BUILD_DEPENDS+= lablgtk2:${PORTSDIR}/x11-toolkits/ocaml-lablgtk2 \ > icotool:${PORTSDIR}/graphics/icoutils > RUN_DEPENDS+= lablgtk2:${PORTSDIR}/x11-toolkits/ocaml-lablgtk2 > PATCH_DEPENDS+= ${BUILD_DEPENDS} > -CONFLICTS+= ocaml-nox11* > SUB_FILES+= ${PORTNAME}.desktop > .else > MAKE_ARGS+= UISTYLE=text > PLIST_SUB+= TEXT="@comment " > -BUILD_DEPENDS+= ocamlc:${PORTSDIR}/lang/ocaml-nox11 > PATCH_DEPENDS+= ${BUILD_DEPENDS} > .endif > > This breaks -nox11 when building with pourdriere... =================================================== ===> Patching for unison-2.48.3_1 =========================================================================== =================================================== ===> unison-2.48.3_1 depends on executable: ocamlc - not found ===> Verifying install for ocamlc in /usr/ports/lang/ocaml ===> unison-2.48.3_1 depends on package: /packages/All/ocaml-4.01.0_4.tbz - not found ===> USE_PACKAGE_DEPENDS_ONLY set - not building missing dependency from source *** [build-depends] Error code 1 Stop in /usr/ports/net/unison. ===> Cleaning for unison-2.48.3_1 build of /usr/ports/net/unison ended at Sat Mar 21 12:32:36 CET 2015 -BUILD_DEPENDS+= ocamlc:${PORTSDIR}/lang/ocaml-nox11 should be there in the 'else' section of OPTIONS:MX11 (perhaps as BUILD_DEPENDS= instead of BUILD_DEPENDS+=) Regards, -- Michelle Sullivan http://www.mhix.org/