From owner-freebsd-ports@FreeBSD.ORG Fri Jul 20 18:16:20 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 CC3D4106564A for ; Fri, 20 Jul 2012 18:16:20 +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 7D7CC8FC15 for ; Fri, 20 Jul 2012 18:16:20 +0000 (UTC) Received: by vbmv11 with SMTP id v11so3993259vbm.13 for ; Fri, 20 Jul 2012 11:16:14 -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=G0RM6PyTsd/4sJw0APMAUCS8TgIiSUvs9IJ4nofzvYA=; b=ap4dIi67wmKOPtPe2tSvglz6nH9WmlVA5A5r7gUhS6Nmoptyz+0yG4EW214elC7kT5 FPYkLJ27Ic2OSLEs2cfnXpSjcmhlRtyplVYDnlK+4IFywr0+ULCs0IrTT7dqkgXr0jTw 0oj1c4iIAIfjGcRMzvZZqeN8MBwjcPn0L9FZN0IXd31Xh6C+uy6kS3dBmKF9LTD3QPKj eWytHRfNIomsZBYIf56U5OJEE803UsVcT0NL8RpoJ0pV/Jv3f8hRTQVoWAi8UZCQjHgH 6PXuCwxwM60td+fmTbMU2blcWhgdxQflCNYokpzBv2zWirGcAB1rKAgUmmfKBIiStb+o +6Eg== MIME-Version: 1.0 Received: by 10.220.16.8 with SMTP id m8mr5300498vca.10.1342808174164; Fri, 20 Jul 2012 11:16:14 -0700 (PDT) Received: by 10.58.145.10 with HTTP; Fri, 20 Jul 2012 11:16:14 -0700 (PDT) In-Reply-To: <1E76612CE817410FAA2CF925F9CC300A@Rivendell> References: <50098EEF.8040801@shatow.net> <1E76612CE817410FAA2CF925F9CC300A@Rivendell> Date: Fri, 20 Jul 2012 21:16:14 +0300 Message-ID: From: Kimmo Paasiala To: Reko Turja Content-Type: text/plain; charset=UTF-8 Cc: freebsd-ports@freebsd.org 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: Fri, 20 Jul 2012 18:16:20 -0000 On Fri, Jul 20, 2012 at 8:30 PM, Reko Turja wrote: > -----Original Message----- From: Bryan Drewery > > > On 7/20/2012 11:57 AM, Reko Turja wrote: >> >> I'm testing out the pkgng system and somehow a port managed to pull >> devel/pkg-config into one low level port polluting whole db. "pkg check" >> just wants to install the annoying thing. Is there any way to get rid of >> that erroneous dependency? > > > Which port is pulling it in? > > sqlite3 > > >> > >> > In production system, these kind of errors should be somehow >> > correctable, especially if pkgng is to be used with ports as well. > > >> If the port defines invalid dependencies, it's not pkgng's problem, it's >> the port. > > > True that, but there should be way of pruning cruft from the pkg tree > anyway. Even if the system is going more and more to linux way for majority > of users (one package fits all) there should be some kind of allowance for > those who want to build their own ports, but do not have access to major > build clusters ;) Ability to build and customise ports has been major reason > for using freebsd for me. > > If you get force-fed all the dependencies the port does not really need > something like portupgrade -a will become major PITA. > > > Kimmo Paasiala wrote: >> >> The port devel/pkg-config is used in many ports, there's no harm in >> installing it. > > I'm not running Gnome nor any gnome stuff except glib2. "pkg-config" might > be used somewhere, but it's completely unneeded in my systems and just extra > baggage for building and tracking dependencies. > > > -Reko > _______________________________________________ > freebsd-ports@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-ports > To unsubscribe, send any mail to "freebsd-ports-unsubscribe@freebsd.org" Its use is not limited to Gnome, as you can see it's used in the build process of databases/sqlite3 and there are many other ports that have nothing to do with Gnome that use it the same way. The only thing that is wrong with it is that ends up being a run time dependency of sqlite3 instead of being only a build time dependency. Maybe this could be changed, anyone know if it's possible? Regards, Kimmo Paasiala