ngrep and libpcap from ports

Florent Thoumie flz at xbsd.org
Fri Jul 22 16:46:55 GMT 2005


Le Vendredi 22 juillet 2005 à 17:00 +0200, Jeremie Le Hen a écrit :
> Hi Edwin,
> 
> I dare to write this small patch because I fail to build the ngrep
> port when the libpcap port is installe.  The configure fails with the
> following message :
> %%%
>     checking for a complete set of pcap headers...
>     
>     more than one set found in:
>     /usr/local/include
>     /usr/include
> 
>     please wipe out all unused pcap installations
> %%%
> 
> This patch will link against the libpcap from ports if it exists.
> I'm not sure this is the correct way to write this, feel free to change
> it's needed.

	I wouldn't fix it that way because it would lead to unexpected 
	behavior.

	I'd use base pcap includes unless WITH_PORTS_PCAP is defined 
	(which add pcap to LIB_DEPENDS).

	Just my 2 cents.

-- 
Florent Thoumie
flz at xbsd.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: This is a digitally signed message part
Url : http://lists.freebsd.org/pipermail/freebsd-ports/attachments/20050722/c7018309/attachment.bin


More information about the freebsd-ports mailing list