From owner-freebsd-ports@FreeBSD.ORG Wed May 19 17:52:12 2010 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 110CB1065674 for ; Wed, 19 May 2010 17:52:12 +0000 (UTC) (envelope-from lists@eitanadler.com) Received: from mail-iw0-f182.google.com (mail-iw0-f182.google.com [209.85.214.182]) by mx1.freebsd.org (Postfix) with ESMTP id D85118FC1C for ; Wed, 19 May 2010 17:52:11 +0000 (UTC) Received: by iwn5 with SMTP id 5so982150iwn.13 for ; Wed, 19 May 2010 10:52:11 -0700 (PDT) Received: by 10.231.150.4 with SMTP id w4mr4050874ibv.41.1274291530378; Wed, 19 May 2010 10:52:10 -0700 (PDT) MIME-Version: 1.0 Received: by 10.231.148.136 with HTTP; Wed, 19 May 2010 10:51:50 -0700 (PDT) In-Reply-To: References: From: Eitan Adler Date: Wed, 19 May 2010 20:51:50 +0300 Message-ID: To: joris dedieu Content-Type: text/plain; charset=UTF-8 Cc: freebsd-ports@freebsd.org Subject: Re: Depend on ${PORTSDIR}/foo WITH_OPTION X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 19 May 2010 17:52:12 -0000 On Wed, May 19, 2010 at 9:11 AM, joris dedieu wrote: > Hi list, > I would like to know if there is a way to tell a port that it depend > on an other port > but build with particulars options. > > Eg : port foo build depend on bar but won't build if bar is not build > with WITH_PARTICULAR. > At this point there isn't a "real" way to require this. One option however is to create a slave port with the options you need set and depend on that. -- Eitan Adler