Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 22 Jul 2005 18:42:25 +0200
From:      Florent Thoumie <flz@xbsd.org>
To:        Jeremie Le Hen <jeremie@le-hen.org>
Cc:        freebsd-ports@FreeBSD.org, edwin@FreeBSD.org
Subject:   Re: ngrep and libpcap from ports
Message-ID:  <1122050545.97024.2.camel@cream.xbsd.org>
In-Reply-To: <20050722150032.GP39292@obiwan.tataz.chchile.org>
References:  <20050722150032.GP39292@obiwan.tataz.chchile.org>

next in thread | previous in thread | raw e-mail | index | archive | help

--=-9W4Kdqy6U3OShBTr3FhY
Content-Type: text/plain; charset=iso8859-15
Content-Transfer-Encoding: quoted-printable

Le Vendredi 22 juillet 2005 =E0 17:00 +0200, Jeremie Le Hen a =E9crit :
> Hi Edwin,
>=20
> 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...
>    =20
>     more than one set found in:
>     /usr/local/include
>     /usr/include
>=20
>     please wipe out all unused pcap installations
> %%%
>=20
> 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=20
	behavior.

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

	Just my 2 cents.

--=20
Florent Thoumie
flz@xbsd.org

--=-9W4Kdqy6U3OShBTr3FhY
Content-Type: application/pgp-signature; name=signature.asc
Content-Description: This is a digitally signed message part

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (FreeBSD)

iD8DBQBC4SHxMxEkbVFH3PQRApe/AJ9OE55MYAEe+vpypSYxRdehKa+iFQCgkfHt
rd7NzPwIeqmsg+oGC8lPlYs=
=hjyv
-----END PGP SIGNATURE-----

--=-9W4Kdqy6U3OShBTr3FhY--




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1122050545.97024.2.camel>