From owner-freebsd-ports@FreeBSD.ORG Tue Mar 8 10:04:08 2011 Return-Path: Delivered-To: ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1A147106566C for ; Tue, 8 Mar 2011 10:04:08 +0000 (UTC) (envelope-from hans.ottevanger@gmail.com) Received: from mail-px0-f182.google.com (mail-px0-f182.google.com [209.85.212.182]) by mx1.freebsd.org (Postfix) with ESMTP id E7AE48FC18 for ; Tue, 8 Mar 2011 10:04:07 +0000 (UTC) Received: by pxi20 with SMTP id 20so1070362pxi.13 for ; Tue, 08 Mar 2011 02:04:07 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:date:message-id:subject:from:to :content-type; bh=xAdnMsbmJ7uYNfQDlYV4+CmkFQx31xaQoBzPJjD2DgU=; b=sHKcJNsoueu7bkHDZlyv0rYuE8FQ2caOgB7gBVLanjAOPBC6wDtap2ZBGKB1Xm/U6b ZObJs4BbgfQZX+jJ8O42zp/ejoxAE9m+6PvNzYnRHp55UyoQZXN8eb+FYts6SyP6GRVO wToq3jfwUca2p+qZUrB9GODcc/J3R8cePY9eg= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=J7ql6DXQaqOPvRxiJen8naaq6bc3xAWZJk3zsW8RL/Fc2oRkTXu6UHb+MObRVsltXn Q3TRRIxdWFPeVkB/IUmMSCjz+kqV1w5bcehOSMoSIVkd52M4kpS/WtV/kYFG02ZDXo9c El8qXY50m994UBXl79KIP2Jo9OukCHiwJqbZs= MIME-Version: 1.0 Received: by 10.142.149.20 with SMTP id w20mr4171426wfd.137.1299577337468; Tue, 08 Mar 2011 01:42:17 -0800 (PST) Received: by 10.143.43.5 with HTTP; Tue, 8 Mar 2011 01:42:17 -0800 (PST) Date: Tue, 8 Mar 2011 10:42:17 +0100 Message-ID: From: Hans Ottevanger To: ports@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 Cc: Subject: Superfluous dependencies 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: Tue, 08 Mar 2011 10:04:08 -0000 Porters, I have been working on some fresh FreeBSD 8.2 installations recently and I was surprised about the amount of extra ports that get installed as dependencies. Once I finish an installation of Xorg and KDE 3 (yes, still using it, like many FreeBSD users and developers), I end up with a handful of scripting languages and development tools I did not ask for. One of them that I already hunted down is bison-2.4.3,1 that gets dragged in via gobject-introspection-0.9.12_1 when installing xorg-7,5.1 (even as a package). This is caused by bison specified as a dependency of type "both" in the port Makefile of gobject-introspection where it should be specified as "build". I don't think that Bison is used on run-time here and most likely not even on build- time. I also doubt the need for Python in this case, i.e. as a dependency for an Xorg installation, but it may be needed in a more general use case of gobject-introspection. I have changed the dependency in my Makefile and rebuilt everything. I now do not have bison as a dependency anymore and can safely delete it, just like all other build dependencies. I am sure there are more of these superfluous dependencies and I will probably hunt down a few more. Does anyone have an idea how to do this systematically? Kind regards, Hans Ottevanger