2013-07-01 16:08 に Scot Hetzel さんは書きました:
The correct fix would be to find all ports that are installing
graphics/jpeg and add an option to them to build with
graphics/libjpeg-turbo instead.  This way poudriere would then be able
to create packages linked to the appropriate port (graphics/jpeg or
libjpeg-turbo).

I looked at the build log, and it looks like the jasper package is the
one that is installing graphics/jpeg.  To fix graphics/jasper, remove
the LIB_DEPENDS line for graphics/jpeg from the Makefile.  Add HPJPG
to OPTIONS_DEFINE, along with the description:

HPJPG_DESC=             Build with High-Performance JPEG support

Then below the '.include <bsd.port.options.mk>' line add the following:

.if ${PORT_OPTIONS:MHPJPG}
LIB_DEPENDS+=   turbojpeg:${PORTSDIR}/graphics/libjpeg-turbo
.else
LIB_DEPENDS+=   jpeg:${PORTSDIR}/graphics/jpeg
.endif

Would you mind sending the patch on graphics/jasper?
I do just maintain my tigervnc port.

--
`whois vmeta.jp | nkf -w`
meta <[email protected]>
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "[email protected]"

Reply via email to