Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 16 Jun 2010 10:29:25 -0500
From:      Scot Hetzel <swhetzel@gmail.com>
To:        Mario Sergio Fujikawa Ferreira <lioux@freebsd.org>, freebsd-ports@freebsd.org
Subject:   Re: RFC: Mk/bsd.jpeg.mk to automagically handle jpeg dependency
Message-ID:  <AANLkTin7vE6aX1T7sdGfcyFulleoRFckdyDo0_MQxE9E@mail.gmail.com>
In-Reply-To: <20100616085618.GA9538@straylight.ringlet.net>
References:  <20100616010957.85686.qmail@exxodus.fedaykin.here> <20100616085618.GA9538@straylight.ringlet.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, Jun 16, 2010 at 3:56 AM, Peter Pentchev <roam@ringlet.net> wrote:
> On Tue, Jun 15, 2010 at 10:09:57PM -0300, Mario Sergio Fujikawa Ferreira =
wrote:
>> =A0 =A0 =A0 It will automagically detected the already installed jpeg
>> port variant (libjpeg-turbo or jpeg) and depend on it. If the user prefe=
rs to set the variant, he can do so using
>>
>> WITH_JPEG=3D =A0 =A0jpeg
>>
>> or
>>
>> WITH_JPEG=3D =A0 =A0libjpeg-turbo
>
> Is it possible that this will conflict with ports that have a JPEG item
> in their OPTIONS list? =A0There are at least the astro/xplanet, editors/e=
macs,
> graphics/devil, graphics/gdal, graphics/gegl, graphics/grx, graphics/imli=
b2,
> graphics/ocaml-images, graphics/opencv, graphics/podofo, graphics/tumbler=
,
> mail/spamprobe, math/R, multimedia/gmerlin, multimedia/gpac-libgpac,
> multimedia/libquicktime, multimedia/spook, multimedia/transcode, x11/ater=
m,
> x11-fm/thunar, x11/mrxvt-devel, and x11-wm/jwm ports that do that, and
> there might be more that a simple fgrep -le WITH_JPEG -e WITHOUT_JPEG did
> not catch.
>
Since many ports use JPEG as an item in their OPTIONS list to enable
jpeg support in the port, why not use WITH_JPEG_PORT to allow the
administrator to choose which jpeg port to depend on.

Scot



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?AANLkTin7vE6aX1T7sdGfcyFulleoRFckdyDo0_MQxE9E>