From owner-freebsd-ports@FreeBSD.ORG Thu Jul 26 06:24:25 2012 Return-Path: Delivered-To: ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id EBEDE1065670; Thu, 26 Jul 2012 06:24:25 +0000 (UTC) (envelope-from kpaasial@gmail.com) Received: from mail-vb0-f54.google.com (mail-vb0-f54.google.com [209.85.212.54]) by mx1.freebsd.org (Postfix) with ESMTP id 675FA8FC0C; Thu, 26 Jul 2012 06:24:25 +0000 (UTC) Received: by vbmv11 with SMTP id v11so1628088vbm.13 for ; Wed, 25 Jul 2012 23:24:18 -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; bh=J3fC/vGKVFKokW0ZX/kT+zfQOTAZOIRCEcHYM1BXFVE=; b=yTl+49nRtYYF1nv6nrLUsMmHueCnyEKFIlBGogfSHhgY1iVyahOBk1kgq1Vmj+2Lm4 eZV1jpOOxsnJR7fA25cUV5zrLHJRm4ZwE414404j0DMFWPDDUB3h7hy3kkpytyvniG/6 ZQdg6poZGEEnMyulOnnv7UOo6bmA/LGwydLznjpEU5J2NX6GSnvzzRsFmOx+q957ybN8 v2HsZLHWqQFpN2+kVd444ZsQ9U10tcjIdQt1Z44QzvmTxEvP80+anAtgIF1gaPmuz0au 008I4/hpo/Ju9egNOcdS54Z25cUq3Q7rYl1I7jSl+QDRIkbzJfY/VFAoPSUloqB5+njv Mxig== MIME-Version: 1.0 Received: by 10.52.35.238 with SMTP id l14mr2304519vdj.40.1343283858697; Wed, 25 Jul 2012 23:24:18 -0700 (PDT) Received: by 10.58.145.10 with HTTP; Wed, 25 Jul 2012 23:24:18 -0700 (PDT) In-Reply-To: <20120726061247.GG13771@ithaqua.etoilebsd.net> References: <20120726061247.GG13771@ithaqua.etoilebsd.net> Date: Thu, 26 Jul 2012 09:24:18 +0300 Message-ID: From: Kimmo Paasiala To: Baptiste Daroussin Content-Type: text/plain; charset=UTF-8 Cc: ports@freebsd.org, ports-announce@freebsd.org Subject: Re: [HEADSUP] devel/pkgconfig is gone, long live devel/pkgconf 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: Thu, 26 Jul 2012 06:24:26 -0000 On Thu, Jul 26, 2012 at 9:12 AM, Baptiste Daroussin wrote: > Hi all, > > We have two problems with devel/pkg-config, the first one is hopefully now > solved, the second one is in the slow way to be solved. > > Let's first start with the first one: > > 1/ since 0.26 devel/pkg-config expects pkg-config and glib2 to be present to be > able to built, and glib2 also depends on pkg-config, this prevent bootstrapping > pkg-config and thus prevented us from upgrading devel/pkg-config to a newer > version than 0.25. > > Hopefully some people decided to work on viable alternative, one of them being > devel/pkgconf, which already have the feature set from 0.27 and is in active > developpement. > > We just switched devel/pkg-config to devel/pkgconf for that reason (see > UPDATING for instructions) > > Now the second problem. > > 2/ USE_GNOME= pkgconfig macro was the most used macro to pkg-config support to > your port, problem is that macro pushed both run and build dependency. Which in > most cases was wrong. > > More than that lots of ports do not even care about pkg-config because they do > depend on glib20 or xproto which run depend on it. so fixing/changing USE_GNOME= > pkgconfig cannot be done in one shot, too much impact. > > We introduced a new macro deprecating USE_GOME= pkgconfig: > USE_PKGCONFIG which can take the following arguments: > - yes (equivalent to build) > - build > - run > - both > > So maintainers please convert your ports to using this macro, please be really > careful while converting your ports that no ports rely on your ports having a > run depends on pkg-config. (this will break package building on pointyhat and > any package building for binary only users!) > > Please also check that if your ports actually needs pkgconfig or not and if it > needs it explicitly add the dependency what ever the ports you depends on are > having has a dependency. > > regards, > Bapt Bapt, You may have noticed this already but the Makefile for devel/pkgconfig is broken, it contains the same lines twice. Thank for the good work, Kimmo