From owner-freebsd-ports@FreeBSD.ORG Mon Jul 25 01:31:08 2005 Return-Path: X-Original-To: freebsd-ports@FreeBSD.org 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 41A0916A41F for ; Mon, 25 Jul 2005 01:31:08 +0000 (GMT) (envelope-from edwin@mavetju.org) Received: from mail3out.barnet.com.au (mail3out.barnet.com.au [202.83.176.17]) by mx1.FreeBSD.org (Postfix) with ESMTP id BD50843D46 for ; Mon, 25 Jul 2005 01:31:07 +0000 (GMT) (envelope-from edwin@mavetju.org) Received: by mail3out.barnet.com.au (Postfix, from userid 27) id 28926877D7A; Mon, 25 Jul 2005 11:31:07 +1000 (EST) X-Viruscan-Id: <42E440DB000183DD591F92@BarNet> Received: from mail3-auth.barnet.com.au (mail3.barnet.com.au [202.83.176.16]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "*.barnet.com.au", Issuer "BarNet Root Certificate Authority" (verified OK)) by mail3.barnet.com.au (Postfix) with ESMTP id 01249877D6D; Mon, 25 Jul 2005 11:31:07 +1000 (EST) Received: from k7.mavetju (edwin-3.int.barnet.com.au [10.10.12.2]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "edwin.adsl.barnet.com.au", Issuer "BarNet Root Certificate Authority" (not verified)) by mail3-auth.barnet.com.au (Postfix) with ESMTP id 9E396877D6B; Mon, 25 Jul 2005 11:31:06 +1000 (EST) Received: by k7.mavetju (Postfix, from userid 1001) id B9B0F64A1; Mon, 25 Jul 2005 11:31:04 +1000 (EST) Date: Mon, 25 Jul 2005 11:31:04 +1000 From: Edwin Groothuis To: Jeremie Le Hen Message-ID: <20050725013104.GM1230@k7.mavetju> References: <20050722150032.GP39292@obiwan.tataz.chchile.org> <1122050545.97024.2.camel@cream.xbsd.org> <20050722173215.GR39292@obiwan.tataz.chchile.org> <1122054396.97024.7.camel@cream.xbsd.org> <20050722175156.GT39292@obiwan.tataz.chchile.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20050722175156.GT39292@obiwan.tataz.chchile.org> User-Agent: Mutt/1.5.9i Cc: freebsd-ports@FreeBSD.org, Florent Thoumie Subject: Re: ngrep and libpcap from ports 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: Mon, 25 Jul 2005 01:31:08 -0000 On Fri, Jul 22, 2005 at 07:51:56PM +0200, Jeremie Le Hen wrote: > Florent, > > > Still won't work for you (or people who have libpcap installed > > from ports and doesn't have WITH_PORTS_LIBPCAP). > > > > Something like this would be more appropriate : > > > > .if !defined(WITH_PORTS_LIBPCAP) > > # Default behavior > > CONFIGURE_ARGS+= --with-pcap-includes=/usr/include > > .else > > CONFIGURE_ARGS+= --with-pcap-includes=${PREFIX}/include > > LIB_DEPENDS= pcap.2:${PORTSDIR}/net/libpcap > > .endif > > Yes, of course. Shame on me :-). I tested both this time, it's OK. > Thanks for your patience. I have commited this patch. Thanks for your work! Edwin -- Edwin Groothuis | Personal website: http://www.mavetju.org edwin@mavetju.org | Weblog: http://weblog.barnet.com.au/edwin/