From owner-freebsd-ports@FreeBSD.ORG Fri Jul 20 23:06:59 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 77B1C106566B; Fri, 20 Jul 2012 23:06:59 +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 E34108FC14; Fri, 20 Jul 2012 23:06:58 +0000 (UTC) Received: by vbmv11 with SMTP id v11so4228559vbm.13 for ; Fri, 20 Jul 2012 16:06:58 -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=VhaI/qrnsWS43CKqaP3JAtrH6k3GwIvh8cEzY/OLoSs=; b=zPjareM+OpParQpKUQlacEHgv9cEb4MWiy+kUn93O1lLg8RjA2DhnZgRg9xcFBiskP Q+LENOvu0Cx7wKP5Tuj8JIDbMJnjyh8x1P3qXR4Tvp8gwUlk8/xiRV6khh0PzoF4pVSl Jln5Dr0eQp3Foa95PDBWwbhiEpjEoSdXxR/okHK/8Es0RuRn+jWH0WKixWm2q404iern Rq8BPy+iBVyB4dJMpv1aQjQ5JaA/0K6TxH4HoGd564jSOrMTfPfJvH0iYu01bfqKkZez 4OJMLIANTPrIf/jN/CZjMpAWVNiY0kA9S6jMGHp32k/ZCB8ZXqXIhvgOes1ao8WMxluX edOQ== MIME-Version: 1.0 Received: by 10.52.98.101 with SMTP id eh5mr5175054vdb.8.1342825618026; Fri, 20 Jul 2012 16:06:58 -0700 (PDT) Received: by 10.58.145.10 with HTTP; Fri, 20 Jul 2012 16:06:57 -0700 (PDT) In-Reply-To: <5009DB2F.5070605@FreeBSD.org> References: <50098EEF.8040801@shatow.net> <1E76612CE817410FAA2CF925F9CC300A@Rivendell> <5009A876.2010905@freebsd.org> <5009AE6A.1040109@freebsd.org> <5009B199.8030102@freebsd.org> <5009DB2F.5070605@FreeBSD.org> Date: Sat, 21 Jul 2012 02:06:57 +0300 Message-ID: From: Kimmo Paasiala To: Doug Barton Content-Type: text/plain; charset=UTF-8 Cc: Reko Turja , Vitaly Magerya , 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 23:06:59 -0000 On Sat, Jul 21, 2012 at 1:26 AM, Doug Barton wrote: > On 07/20/2012 14:26, Kimmo Paasiala wrote: >> 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. > > http://people.freebsd.org/~dougb/pkg-config-run-deps.txt > > Looks like bsd.gnome.mk is (bogusly) adding most of these: > > pkgconfig_RUN_DEPENDS= pkg-config:${PORTSDIR}/devel/pkg-config > > Removing that is almost certainly the right first step. > > -- > > Change is hard. > Doug, That certainly seems to be the culprit and it does look like it's safe to remove that line. With that line removed there are still ports that pull in pkg-config for build but don't actually use it. That's not a big problem since pkg-config won't have anything depending on it after the build.