From owner-freebsd-ruby@FreeBSD.ORG Sat Jul 21 16:38:40 2012 Return-Path: Delivered-To: ruby@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id AA5B9106566B; Sat, 21 Jul 2012 16:38:40 +0000 (UTC) (envelope-from swhetzel@gmail.com) Received: from mail-ob0-f182.google.com (mail-ob0-f182.google.com [209.85.214.182]) by mx1.freebsd.org (Postfix) with ESMTP id 2FC498FC17; Sat, 21 Jul 2012 16:38:40 +0000 (UTC) Received: by obbun3 with SMTP id un3so8659648obb.13 for ; Sat, 21 Jul 2012 09:38:39 -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=HIVJZEbPpkq4HmNK7QDvB+e0DZ9B1umJFixCV5SbeqU=; b=JdrCE4S+sGCIl2ESzzdgui9mR6fnCdXE32/5NGEDtol+3A5dpliJ6XO9FpHV7YUNxZ AtBEfQIcKrI9b3SuKM553pEJ/suJFgBnT1l1QCfJ6cwGk8r4EtVO/wL5hPN+YSR5jYXM p/kmxPz9HAX4tfDOsoX4JV4RIjMaAv5WMMcZFHL+pIAOpOIXjnTPKYGRQ/ibt8WOYSqy nReCf9GYHPspGMowyGQqpAwF2TRV6UtWqmJbUNKO6X54sZIXJkfw7WcdvdknLNnr4Wom ZFN+2CA0d0pytlmMt187/C5CvrbbRGJ2t34faD+XRZ8w1uIS0Yk+FfrHXuct5vnPhb/E x2LQ== MIME-Version: 1.0 Received: by 10.60.0.161 with SMTP id 1mr2824658oef.63.1342888719782; Sat, 21 Jul 2012 09:38:39 -0700 (PDT) Received: by 10.182.14.201 with HTTP; Sat, 21 Jul 2012 09:38:39 -0700 (PDT) In-Reply-To: <15617903.FBMimp13fy@mocha.verizon.net> References: <500A4D9E.3050701@FreeBSD.org> <15617903.FBMimp13fy@mocha.verizon.net> Date: Sat, 21 Jul 2012 11:38:39 -0500 Message-ID: From: Scot Hetzel To: "Jason E. Hale" Content-Type: text/plain; charset=ISO-8859-1 Cc: Doug Barton , Jeremy Messenger , ruby@freebsd.org, Edwin Groothuis , freebsd-ports@freebsd.org, gnome@freebsd.org, johans@freebsd.org Subject: Re: How to remove erroneous deps from pkgng X-BeenThere: freebsd-ruby@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: FreeBSD-specific Ruby discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 21 Jul 2012 16:38:40 -0000 On Sat, Jul 21, 2012 at 6:59 AM, Jason E. Hale wrote: > On Friday, July 20, 2012 23:35:10 Doug Barton wrote: >> Baptiste already volunteered to do an exp-run for this topic on Monday. >> If you don't have time to get your changes ready before then IMO we >> should go ahead with removing the line from bsd.gnome.mk. Making that >> correct fix now won't negatively affect your ability to make a >> different/better change later; but doing it now will give us more >> opportunity to see the results and fix any regressions. >> > The problem with simply removing > > pkgconfig_RUN_DEPENDS= pkg-config:${PORTSDIR}/devel/pkg-config > > from bsd.gnome.mk is that there are ports that indirectly depend on pkg-config > for their build through other ports that directly depend on it since it has > just been a runtime dependency. I know there are quite a few KDE ports like > that. > Removing this runtime dependency for pkgconfig from bsd.gnome.mk is the correct thing to do, until we have the better frame work to specify that pkgconfig is a build or run dependancy. > To explain better, x11/kdelibs4 has USE_GNOME=pkgconfig, but some ports that > depend on kdelibs4 and require pkg-config for their build are not currently > defining USE_GNOME=pkgconfig since it is assumed that pkg-config is installed. > A direct dependency for pkg-config would need to be added to all of those > ports. > That is what the experimental run will tell us. Which ports break when this line is removed/disabled in bsd.gnome.mk. This way we can fix those ports by adding a BUILD_DEPENDS to them. > I think there would be a lot less breakage if the line in bsd.gnome.mk were > left in for now and we migrated over to the pkgconfig:build/run scheme. > We would still have the same amount of breakage. In your example x11/kdelibs4 would be changed to USE_GNOME=pkgconfig:build. The ports that still have an indirect build dependancy on pkgconfig would still fail to build. Scot