roam at ringlet.net
Sat Feb 5 12:44:46 UTC 2011
On Sat, Feb 05, 2011 at 04:11:08PM +1030, Daniel O'Connor wrote:
> On 05/02/2011, at 16:01, Peter Jeremy wrote:
> >> On 07/01/2010, at 14:54, Daniel O'Connor wrote:
> >>> One problem is that ports don't know which version to use, it would be nice
> >>> if they could just depend on devel/libusb and Magic Happened (tm) to pick
> >>> the correct thing.
> > The correct solution is 'USE_LIBUSB=yes' with relevant magic in bsd.port.mk
> > Unfortunately this is unlikely to occur because it's only needed for 7.x
> > which will be dying within the next few years.
> USE_LIBUSB= would be nice, I will see if I can author such a thing..
> That said it is still desirable to have .pc files for libusb as I believe that is the canonical way to determine how to compile & link against it.
> If that is by making USE_LIBUSB adds a dep to a pseudo port which installs the .pc files, or adds no dep because the .pc files are in base are pretty much equivalent IMO.
> >> What about if devel/pkgconfig is modified to search in /usr/libdata/pkgconfig and systems with native libusb have entries in there?
> > Apart from libusb, are there any other apps in the base system that
> > could reasonably install .pc files?
> None come to mind..
Actually, at least OpenSSL comes to mind, although it currently doesn't.
Peter Pentchev roam at ringlet.net roam at FreeBSD.org peter at packetscale.com
PGP key: http://people.FreeBSD.org/~roam/roam.key.asc
Key fingerprint FDBA FD79 C26F 3C51 C95E DF9E ED18 B68D 1619 4553
because I didn't think of a good beginning of it.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 836 bytes
Desc: Digital signature
Url : http://lists.freebsd.org/pipermail/freebsd-gnome/attachments/20110205/2e46804a/attachment.pgp
More information about the freebsd-gnome