From owner-freebsd-ports@FreeBSD.ORG Mon Aug 25 00:10:08 2003 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D216716A4BF; Mon, 25 Aug 2003 00:10:08 -0700 (PDT) Received: from mag.barnet.com.au (mag.barnet.com.au [218.185.88.3]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2C7F943FDD; Mon, 25 Aug 2003 00:10:08 -0700 (PDT) (envelope-from edwin@mavetju.org) Received: from extmail.barnet.com.au (tim.direct.int.barnet.com.au [10.10.10.2]) by mag.barnet.com.au (Postfix) with ESMTP id 42DC91B91; Mon, 25 Aug 2003 17:10:02 +1000 (EST) X-Viruscan-Id: <3F49B64A000093D501E2217E@VIRUSCAN-127.0.0.1> Received: from k7.mavetju (tim.barnet.com.au [218.185.88.1]) by extmail.barnet.com.au (Postfix) with ESMTP id B47E91E17; Mon, 25 Aug 2003 17:09:59 +1000 (EST) Received: by k7.mavetju (Postfix, from userid 1001) id 2D9916A7101; Mon, 25 Aug 2003 17:09:57 +1000 (EST) Date: Mon, 25 Aug 2003 17:09:57 +1000 From: Edwin Groothuis To: Sergey Akifyev Message-ID: <20030825070957.GC571@k7.mavetju> References: <1061791009.32052.74.camel@asa.gascom.net.ru> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1061791009.32052.74.camel@asa.gascom.net.ru> User-Agent: Mutt/1.4.1i cc: FreeBSD ports cc: questions@freebsd.org Subject: Re: How to ensure dependency is compiled with some flags? X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 25 Aug 2003 07:10:09 -0000 On Mon, Aug 25, 2003 at 09:56:49AM +0400, Sergey Akifyev wrote: > I'm porting one piece of software, which depends on PHP. > The problem is that PHP must be built with two options: > WITH_SOCKETS and WITH_SNMP. So, how do I force the port to pull PHP with > theese options? See ports/mail/imp3/MAkefile about line 180 where they do "${LDD} ${PHPSO}" on how you might want to do it. Edwin -- Edwin Groothuis | Personal website: http://www.mavetju.org edwin@mavetju.org | Weblog: http://www.mavetju.org/weblog/weblog.php