From owner-freebsd-ports@FreeBSD.ORG Mon Jul 1 18:41:08 2013 Return-Path: Delivered-To: ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 8AE09301; Mon, 1 Jul 2013 18:41:08 +0000 (UTC) (envelope-from swhetzel@gmail.com) Received: from mail-ie0-x236.google.com (mail-ie0-x236.google.com [IPv6:2607:f8b0:4001:c03::236]) by mx1.freebsd.org (Postfix) with ESMTP id 5938A1AFB; Mon, 1 Jul 2013 18:41:08 +0000 (UTC) Received: by mail-ie0-f182.google.com with SMTP id s9so10283664iec.13 for ; Mon, 01 Jul 2013 11:41:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; bh=q1bOfBwQxTXvYgXPqOptEkQRt0GRjTwBAbbfDSFFRY8=; b=LAqmuUyPKkIR43HrUXNBvTm1PbZx486wO4m9A7srpzFNWhiMp5JRRogH2JUg27wrvJ /H/rmQgFVfT3gr4tl3Hw3o0SRssqLNMyrkpx/poJkg3rXmMArBsvJL2n+6xSw4fP0MTM 0HElHNncDzYQbFcgyGCmqoGWiwkA4HSpLx5+f3vW1ezBT9MpufEEn6AoHdyrxnUIFKyj PgZ+eUiw+sp7yUSJ3int1ZVWSANmsOYXiYL9n0YqnxJvCcVyZIMJLBd5bzChoJAOvvEQ bcRz8gZ1oafkMB66k6S8Xml0fVhdLnjr2IHPoW8nSnH/q3S6eiZgLuHzWiI8iZt3uQ2J kp0g== MIME-Version: 1.0 X-Received: by 10.50.85.13 with SMTP id d13mr15912546igz.41.1372704068004; Mon, 01 Jul 2013 11:41:08 -0700 (PDT) Received: by 10.50.221.179 with HTTP; Mon, 1 Jul 2013 11:41:07 -0700 (PDT) In-Reply-To: References: Date: Mon, 1 Jul 2013 13:41:07 -0500 Message-ID: Subject: Re: ports/179236: Build failure (lib-depends) for net/tigervnc when HPJPG is enabled From: Scot Hetzel To: Koichiro IWAO Content-Type: text/plain; charset=ISO-2022-JP Content-Transfer-Encoding: 7bit Cc: ports@freebsd.org, bug-followup@freebsd.org X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 01 Jul 2013 18:41:08 -0000 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.