ports with lib_depends: prefering one lib over another

Baptiste Daroussin bapt at FreeBSD.org
Mon Jul 28 08:26:22 UTC 2014


On Mon, Jul 28, 2014 at 07:32:15AM +0200, Kurt Jaeger wrote:
> Hi!
> 
> In 
> 
> https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=192123
> 
> the suggestion is to use graphics/libjpeg-turbo, if possible
> and use graphics/jpeg, if not.
> 
> Question: How can this be expressed in the ports Makefile ?
> 
It is just not possible so far by design of the ports tree by design,
It needs a more general purpose framework and needs to be carefully thought
about.

In general something allowing a global choosing of libjpeg-turbo vs libjpeg on
amd64 and i386 would be great (there is also the new mozilla fork of
libjpeg-turbo btw :))

a USES sounds a good idea, should it be general to all graphic libraries or only
jpeg?

regards,
Bapt
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 181 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/freebsd-ports/attachments/20140728/0f4c8d5c/attachment.sig>


More information about the freebsd-ports mailing list