From owner-freebsd-ports@FreeBSD.ORG Sun Jul 22 14:51:41 2012 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 E4FF31065670; Sun, 22 Jul 2012 14:51:41 +0000 (UTC) (envelope-from mezz.freebsd@gmail.com) Received: from mail-pb0-f54.google.com (mail-pb0-f54.google.com [209.85.160.54]) by mx1.freebsd.org (Postfix) with ESMTP id 9BF618FC14; Sun, 22 Jul 2012 14:51:41 +0000 (UTC) Received: by pbbro2 with SMTP id ro2so9951616pbb.13 for ; Sun, 22 Jul 2012 07:51:41 -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=QuK6RL/eQ5oUODqhZNgu2juFs4IH91rs5NQVqWNMOJI=; b=mNbxxm0ZxDf0760zs7hhJu5wjF7KgL7N8Vxhtn+NQQYHH7HFElOerFtVMFFYJWnjXy iF8xvvwtfPnk3CEBVPAK4MumePrZLRp8OTQ4I+FqaI2wQRh0EQnwIX6dPsUtr5pe5oWD BfqbbH6bp2/MFsyqrZYNfPOcQcg/a5/tzZhfTlTZn7UkV+dabBRL0MyK7Yaqp1TAG93x 1Pxn03JsCfRfaye2cP8vtr1TdCCeR9DIAI13b7DoOaCC7etufwupbDeT22ANADzcToOv hJvNdQz5+PlRWNcOj4X8TgFZBAB7kpBB1Bau5/MdjFHcDm4tMo3uZL8NSqAX4aWs7xZn iUVA== MIME-Version: 1.0 Received: by 10.68.236.4 with SMTP id uq4mr28045037pbc.158.1342968700967; Sun, 22 Jul 2012 07:51:40 -0700 (PDT) Received: by 10.68.51.201 with HTTP; Sun, 22 Jul 2012 07:51:40 -0700 (PDT) In-Reply-To: <500B8811.9090609@FreeBSD.org> References: <15617903.FBMimp13fy@mocha.verizon.net> <2193820.CL19acAFmS@mocha.verizon.net> <500B1953.10809@FreeBSD.org> <500B8811.9090609@FreeBSD.org> Date: Sun, 22 Jul 2012 09:51:40 -0500 Message-ID: From: Jeremy Messenger To: Doug Barton Content-Type: text/plain; charset=ISO-8859-1 Cc: Scot Hetzel , kde@freebsd.org, ruby@freebsd.org, Edwin Groothuis , freebsd-ports@freebsd.org, gnome@freebsd.org, "Jason E. Hale" Subject: Re: How to remove erroneous deps from pkgng 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: Sun, 22 Jul 2012 14:51:42 -0000 On Sat, Jul 21, 2012 at 11:56 PM, Doug Barton wrote: > KDE folks .... Jason's suggestion (by private e-mail for some reason) > was that we add pkgconfig to USE_GNOME= for every port that depends on > kdelibs that doesn't already have it; since almost, if not actually all > of them are currently relying on the run-dep side effect. I can't see > any reason NOT to do this, but if you have an objection please speak up > sooner rather than later. > > On 07/21/2012 21:33, Jeremy Messenger wrote: >> On Sat, Jul 21, 2012 at 4:04 PM, Doug Barton wrote: >>> On 07/21/2012 13:48, Jason E. Hale wrote: >>> >>>> IMO I don't really see what the hurry is. This has been the behavior for >>>> years. >>> >>> Yes, and some of us have been annoyed by it for years as well. :) >>> >>> The current behavior is wrong, and becomes increasingly painful in a >>> world where most FreeBSD users are using packages because it drags in a >>> totally pointless package to essentially every FreeBSD system. Fixing >>> this bug is a good thing, and needs to be done sooner rather than later. >> >> >> It is unnecessary to be in hurry when that pkg-config has been in the >> bsd.gnome.mk for about nine years. > > The sooner we start fixing it, the better off we are. > >> I already have a better solution >> available for weeks. Therefore, you (and others) need to be patient >> because when I add the :build/:run dependency in the bsd.gnome.mk then >> that pkg-config runtime dependency will be re-added. > > Um, yeah ... don't do that. You need to start to respect the people's work and plan, Doug. Also I am part of team that maintaining the bsd.gnome.mk. Yes it will be re-add if anyone plan to remove it, because I already have planned add the :build/:run feature in the bsd.gnome.mk that the without :* will be both build/run time dependency. It is impossible for me to not re-add it. It is not going to be long because I already have function :build/:run in the bsd.mate.mk (was repocopied from bsd.gnome.mk) available. The only thing that I don't plan is to chase thousands of port to have the 'pkgconfig;build'. If anyone want to take up this task is cool with me. > I mis-attributed your patch to Jason previously, sorry about that. But > before it goes in your patch should have the logic I spoke about in my > previous posts, to make sure that the USE_GNOME bits cannot get added as > the wrong kinds of deps. > >> And no I am not >> going to work on chase all ports to have the 'pkgconfig:build' >> (sorry). > > Not asking you to. I'm asking you to fix your patch so that things that > should only be one kind of dep or the other (like pkgconfig, but not > necessarily limited to it) are handled properly by default if the right > :label is not attached, and error out if the wrong one is. That way the > work that's being done now to fix ports that need explicit build deps > for pkg-config will solve this part of the problem for you. > > As you pointed out, the current situation has existed for a long time > already. If we have to wait another week or 2 for the pkg-config run dep > problem to be fixed properly before your patch gets committed, that's > not really a problem. > > Doug > > -- > > Change is hard. > > > -- mezz.freebsd@gmail.com - mezz@FreeBSD.org FreeBSD GNOME Team http://www.FreeBSD.org/gnome/ - gnome@FreeBSD.org