ngrep and libpcap from ports
Edwin Groothuis
edwin at mavetju.org
Mon Jul 25 01:31:08 GMT 2005
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 at mavetju.org | Weblog: http://weblog.barnet.com.au/edwin/
More information about the freebsd-ports
mailing list