From owner-freebsd-ports@FreeBSD.ORG Fri Jul 20 21:26:28 2012 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 66445106566C; Fri, 20 Jul 2012 21:26:28 +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 037658FC17; Fri, 20 Jul 2012 21:26:27 +0000 (UTC) Received: by vbmv11 with SMTP id v11so4165756vbm.13 for ; Fri, 20 Jul 2012 14:26:27 -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=1TKvP0NZS1E61m1mIZf6KrQiCzYdJgLuk3JXQG3dMAE=; b=ePvzF5nmdzGO3GdH3YnxLkz4x58tyyUqPAaCDCrZSzmEJDGM75zSWBFMW7mEFI36jG TZTAi8TSKBgYCKaelA5JOsjiw6vqt/dnFcvoFUzU13rkgg71p5vdi0C1GKSqImNJDjJw SvizdVI6ePtthi85xowUDajSClinrp53hWfM2Ep31FTBTNWRESoGgWKGWigpPTWu0ubU 8wl+3uE6GvGWHN6jd3FkpyVngz4MKlpV7+dMwylIX+nHtYORzv73t5oj6U+Xvhjzv7bS vPTvIQu7oNDHeYeoiU/px3Z5gTpNMX+skPA2VxOu3UDYc8rwTdiuZGrFcuJd8uYpl7oi Qzsw== MIME-Version: 1.0 Received: by 10.220.220.78 with SMTP id hx14mr5179792vcb.23.1342819587381; Fri, 20 Jul 2012 14:26:27 -0700 (PDT) Received: by 10.58.145.10 with HTTP; Fri, 20 Jul 2012 14:26:27 -0700 (PDT) In-Reply-To: References: <50098EEF.8040801@shatow.net> <1E76612CE817410FAA2CF925F9CC300A@Rivendell> <5009A876.2010905@freebsd.org> <5009AE6A.1040109@freebsd.org> <5009B199.8030102@freebsd.org> Date: Sat, 21 Jul 2012 00:26:27 +0300 Message-ID: From: Kimmo Paasiala To: Vitaly Magerya Content-Type: text/plain; charset=UTF-8 Cc: Reko Turja , freebsd-ports@freebsd.org, Julien Laffaye 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 21:26:28 -0000 On Fri, Jul 20, 2012 at 11:29 PM, Kimmo Paasiala wrote: > On Fri, Jul 20, 2012 at 10:59 PM, Vitaly Magerya wrote: >> Julien Laffaye wrote: >>> I am not trying to state what it should or should not do. >>> I am trying to guess why it is doing things like it does. >> >> I apologize for being patronizing then. >> >> Is any committer here willing to remove sqlite3's dependency on >> pkg-config, or should I file a PR? (A grep through the sources reveals >> that sqlite3 does not use pkg-config for it's own build, so it should >> be safe to completely drop the dependency). > > The port builds fine with the USE_GNOME=pkgconfig line commented out, > also I tested building a dependent port devel/subversion and it built > fine. > I'm wondering if the dependency is removed then will all ports that > link to sqlite3 pull in pkg-config if it's not installed? Sqlite3 isn't the only one with a bogus dependency to pkg-config, for example audio/libsndfile does the same by using "USE_GNOME=gnomehack pkgconfig" instead of doing the proper thing (tm) which is patching Makefile.in to install the .pc file to $(prefix)/libdata/pkgconfig. I can try to track down some of those and submit PRs.