Date: Mon, 1 Jul 2013 13:41:07 -0500 From: Scot Hetzel <swhetzel@gmail.com> To: Koichiro IWAO <meta@vmeta.jp> Cc: ports@freebsd.org, bug-followup@freebsd.org Subject: Re: ports/179236: Build failure (lib-depends) for net/tigervnc when HPJPG is enabled Message-ID: <CACdU%2Bf_8wBQnf-ML3S%2BRdSNaOQrg%2BT1OUpezg78JZqQWXGk_eA@mail.gmail.com> In-Reply-To: <a4cfdb79b4f190e4f9526f032db5ef78@vmeta.jp> References: <CACdU%2Bf_EAnKF7CL7%2Ba1C8izOo7kNHLZ9KKXUnT6p76%2BQxmKeDQ@mail.gmail.com> <a4cfdb79b4f190e4f9526f032db5ef78@vmeta.jp>
next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, Jul 1, 2013 at 4:57 AM, Koichiro IWAO <meta@vmeta.jp> wrote: > 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. > Sent the patch for graphics/jasper graphics/jasper: http://www.freebsd.org/cgi/query-pr.cgi?pr=180175 it depends on the changes to add a new USES jpeg feature: Mk/Uses/jpeg.mk: http://www.freebsd.org/cgi/query-pr.cgi?pr=180159 -- DISCLAIMER: No electrons were maimed while sending this message. Only slightly bruised.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CACdU%2Bf_8wBQnf-ML3S%2BRdSNaOQrg%2BT1OUpezg78JZqQWXGk_eA>