From owner-freebsd-ports@FreeBSD.ORG Wed Jun 16 15:35:57 2010 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id EAF1A106564A for ; Wed, 16 Jun 2010 15:35:57 +0000 (UTC) (envelope-from swhetzel@gmail.com) Received: from mail-wy0-f182.google.com (mail-wy0-f182.google.com [74.125.82.182]) by mx1.freebsd.org (Postfix) with ESMTP id 509658FC15 for ; Wed, 16 Jun 2010 15:35:56 +0000 (UTC) Received: by wyb34 with SMTP id 34so2666458wyb.13 for ; Wed, 16 Jun 2010 08:35:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:content-type :content-transfer-encoding; bh=xVS5k3HfhmYy61yXBLl0g+1BTyU4T5HAodUQ4XenWAg=; b=Sz+1LSDeKiG/jYV5g+SBiYlG5hf4yE2hFoL9+VEi97ZtDCvUJV7FvvevMHc0CvVO8X 89D1EWUwAFRDMQBaQXBZuf9gMfqVXUw3Cru5hPR9fEsnHa1nKdDW6kQpeLo48z4UqTYs cEx85H2lK9hEaMjfrKVtIkjTWH/xhiauUk3d0= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; b=YYKu+ihj5B5EQCABw5UQnddCscVA32SNrhyjVYE0oMG5TSsDFpA6bhFgfNlk0E0KpZ z5ilIr5Xj0bIBFOxZZmfM0CRv3kGZvSmjjmBA3I337487R0Bt+FPIm3kK57TtAIZXore PLsxnqQsMQH4dfHi+FM0z89DuVowWrtJvPfRk= MIME-Version: 1.0 Received: by 10.216.87.130 with SMTP id y2mr5200892wee.13.1276702165377; Wed, 16 Jun 2010 08:29:25 -0700 (PDT) Received: by 10.216.29.73 with HTTP; Wed, 16 Jun 2010 08:29:25 -0700 (PDT) In-Reply-To: <20100616085618.GA9538@straylight.ringlet.net> References: <20100616010957.85686.qmail@exxodus.fedaykin.here> <20100616085618.GA9538@straylight.ringlet.net> Date: Wed, 16 Jun 2010 10:29:25 -0500 Message-ID: From: Scot Hetzel To: Mario Sergio Fujikawa Ferreira , freebsd-ports@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: Subject: Re: RFC: Mk/bsd.jpeg.mk to automagically handle jpeg dependency X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 16 Jun 2010 15:35:58 -0000 On Wed, Jun 16, 2010 at 3:56 AM, Peter Pentchev 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