From owner-freebsd-ports@FreeBSD.ORG Tue Nov 22 03:32:13 2011 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 70378106564A for ; Tue, 22 Nov 2011 03:32:13 +0000 (UTC) (envelope-from sahil@tandon.net) Received: from spartan.hamla.org (spartan.hamla.org [206.251.255.30]) by mx1.freebsd.org (Postfix) with ESMTP id 387F38FC13 for ; Tue, 22 Nov 2011 03:32:12 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by spartan.hamla.org (Postfix) with ESMTP id 364A0170E6 for ; Mon, 21 Nov 2011 22:32:42 -0500 (EST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=tandon.net; h= user-agent:in-reply-to:content-disposition:content-type :content-type:mime-version:references:reply-to:message-id :subject:subject:from:from:date:date:received:received; s=aegis; t=1321932761; bh=v6MFUfRygiobVAR5iuws1lm/4GDSA52EL2s5NXgmNUc=; b= XDn5dIsjYhWTaLsetNlbhlk2MHXVkYW4SXxJby32FgiYkgbpDWUnyZi3RBoZxQUC 4ZlhzwJQnjJK+7v7jx0jyCrlGww7G58lliK+XIdH2q0cFxHdsk2odojSCssaTZQI 9IoGDPW31P3R+UBsw3/158pXgLH9zaV905q2efk8sRA= X-Virus-Scanned: by ClamAV at spartan.hamla.org Received: from spartan.hamla.org ([127.0.0.1]) by localhost (spartan.hamla.org [127.0.0.1]) (amavisd-new, port 10027) with LMTP id jtEw897ZrsEC for ; Mon, 21 Nov 2011 22:32:41 -0500 (EST) Received: from magic.hamla.org (cpe-68-174-92-20.nyc.res.rr.com [68.174.92.20]) by spartan.hamla.org (Postfix) with ESMTPSA id 77FBC170E3 for ; Mon, 21 Nov 2011 22:32:41 -0500 (EST) Date: Mon, 21 Nov 2011 22:33:14 -0500 From: Sahil Tandon To: freebsd-ports@freebsd.org Message-ID: <20111122033314.GE28259@magic.hamla.org> References: <20111108180947.288e9a42.bbtruk@users.sourceforge.net> <4EB9771C.5080006@cassiba.com> <20111119234758.e4a46127.bbtruk@users.sourceforge.net> <4EC8C71B.4070405@infracaninophile.co.uk> <20111121232133.9cf7269a.bbtruk@users.sourceforge.net> <4ECADC06.3020403@infracaninophile.co.uk> <4ECAF682.2050400@FreeBSD.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4ECAF682.2050400@FreeBSD.org> User-Agent: Mutt/1.5.21 (2010-09-15) Subject: Re: Slave ports X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: freebsd-ports@FreeBSD.org List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 22 Nov 2011 03:32:13 -0000 On Mon, 2011-11-21 at 17:10:26 -0800, Doug Barton wrote: > On 11/21/2011 15:17, Matthew Seaman wrote: > > Lets suppose you want the gtk2 version of lazarus, and lets further > > suppose that the two slave ports discussed previously have been created. > > > > You would write dependency lines in the port Makefile eg. like this: > > > > BUILD_DEPENDS = lazarus:${PORTSDIR}/editors/lazarus-gtk2 > > In spite of its not being documented in bsd.port.mk (hello? portmgr? > anyone?) there is an alternate way to describe the dependency that would > fix this problem: > > BUILD_DEPENDS= lazarus-gtk2>=1.23:${PORTSDIR}/editors/lazarus-gtk2 FWIW, this is at least documented in the Porter's Handbook. :) http://www.freebsd.org/doc/en/books/porters-handbook/book.html#AEN2373 -- Sahil Tandon