From owner-freebsd-ports-bugs@FreeBSD.ORG Mon Jul 1 18:50:01 2013 Return-Path: Delivered-To: freebsd-ports-bugs@smarthost.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 63EA5814 for ; Mon, 1 Jul 2013 18:50:01 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) by mx1.freebsd.org (Postfix) with ESMTP id 55DB71B65 for ; Mon, 1 Jul 2013 18:50:01 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.7/8.14.7) with ESMTP id r61Io1eB083148 for ; Mon, 1 Jul 2013 18:50:01 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.7/8.14.7/Submit) id r61Io169083124; Mon, 1 Jul 2013 18:50:01 GMT (envelope-from gnats) Date: Mon, 1 Jul 2013 18:50:01 GMT Message-Id: <201307011850.r61Io169083124@freefall.freebsd.org> To: freebsd-ports-bugs@FreeBSD.org Cc: From: Scot Hetzel Subject: Re: ports/179236: Build failure (lib-depends) for net/tigervnc when HPJPG is enabled X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: Scot Hetzel List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 01 Jul 2013 18:50:01 -0000 The following reply was made to PR ports/179236; it has been noted by GNATS. From: Scot Hetzel To: Koichiro IWAO Cc: bug-followup@freebsd.org, ports@freebsd.org Subject: Re: ports/179236: Build failure (lib-depends) for net/tigervnc when HPJPG is enabled Date: Mon, 1 Jul 2013 13:41:07 -0500 On Mon, Jul 1, 2013 at 4:57 AM, Koichiro IWAO 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 ' 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.