From owner-freebsd-ports@FreeBSD.ORG Tue Jun 8 07:23:15 2010 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 7D2FE1065674; Tue, 8 Jun 2010 07:23:15 +0000 (UTC) (envelope-from alexander@leidinger.net) Received: from mail.ebusiness-leidinger.de (mail.ebusiness-leidinger.de [217.11.53.44]) by mx1.freebsd.org (Postfix) with ESMTP id DFA488FC1A; Tue, 8 Jun 2010 07:23:14 +0000 (UTC) Received: from outgoing.leidinger.net (pD954F51D.dip.t-dialin.net [217.84.245.29]) by mail.ebusiness-leidinger.de (Postfix) with ESMTPSA id 007E384400A; Tue, 8 Jun 2010 09:23:10 +0200 (CEST) Received: from webmail.leidinger.net (webmail.leidinger.net [192.168.1.102]) by outgoing.leidinger.net (Postfix) with ESMTP id 7A15750F0; Tue, 8 Jun 2010 09:23:06 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=Leidinger.net; s=outgoing-alex; t=1275981786; bh=szAEk9Ik8Hfqk4w8ITW3ybFHERsZYM9lFkv7dOYm2tE=; h=Message-ID:Date:From:To:Cc:Subject:References:In-Reply-To: MIME-Version:Content-Type:Content-Transfer-Encoding; b=EOtWNiaq+8G59HH10GpPMWptTj3l9/uxxfYUubM3umTOJACKkSp8/TCKbCPfPT1yA 6PlI/1+kwaoG0DUUYZh78faz502olq54lc0/7gAUSSNzQ0SA/Ofk+/fNqk8TQ7A2Wu YjJzNn5hGuqqYt6OZyMaZQVQb727CUK9IgOfEnDNdYy5ZoufMVEtHv0MnkUili6Exe FFflG2WvdJPAzuFHC9XffATEmMkp9YU5iJhqTbdSj4pUJZ/dXtvEWYe910H1QMHDxw G2RkVq0RBOxfNip85dHV6RxTs/S6696Nn3OM2KqKCyFZc7YuTMTnmbIw7/0d9NwYih O6gIR960cwgGA== Received: (from www@localhost) by webmail.leidinger.net (8.14.4/8.13.8/Submit) id o587N6Hr036581; Tue, 8 Jun 2010 09:23:06 +0200 (CEST) (envelope-from Alexander@Leidinger.net) Received: from pslux.ec.europa.eu (pslux.ec.europa.eu [158.169.9.14]) by webmail.leidinger.net (Horde Framework) with HTTP; Tue, 08 Jun 2010 09:23:05 +0200 Message-ID: <20100608092305.135975l67lzv7ksg@webmail.leidinger.net> Date: Tue, 08 Jun 2010 09:23:05 +0200 From: Alexander Leidinger To: Alex Dupre References: <4C04CAAA.7080001@janh.de> <20100603123728.GA1605@server.vk2pj.dyndns.org> <20100603150208.19603v4b90d4jeec@webmail.leidinger.net> <4C09010A.7010906@janh.de> <20100605233947.00006cce@unknown> <4C0D03A1.3040100@FreeBSD.org> In-Reply-To: <4C0D03A1.3040100@FreeBSD.org> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; DelSp="Yes"; format="flowed" Content-Disposition: inline Content-Transfer-Encoding: 7bit User-Agent: Dynamic Internet Messaging Program (DIMP) H3 (1.1.4) X-EBL-MailScanner-Information: Please contact the ISP for more information X-EBL-MailScanner-ID: 007E384400A.A6909 X-EBL-MailScanner: Found to be clean X-EBL-MailScanner-SpamCheck: not spam, spamhaus-ZEN, SpamAssassin (not cached, score=-0.5, required 6, autolearn=disabled, ALL_TRUSTED -1.00, DKIM_SIGNED 0.10, DKIM_VALID -0.10, DKIM_VALID_AU -0.10, J_CHICKENPOX_47 0.60) X-EBL-MailScanner-From: alexander@leidinger.net X-EBL-MailScanner-Watermark: 1276586592.31369@s8HzVChk4sH1f6YNsl7Alw X-EBL-Spam-Status: No Cc: freebsd-ports@FreeBSD.org Subject: Re: Direct or indirect libdependencies (using the libintl.so.8 case) 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 Jun 2010 07:23:15 -0000 Quoting Alex Dupre (from Mon, 07 Jun 2010 16:35:13 +0200): > Alexander Leidinger ha scritto: >> The best solution would be to fix the ports to not link explicitely to >> indirect deps (by improving libtool and by improving the .pc files >> for pkg-config). Then we could even switch from recording indirect >> dependencies in /var/db/pkg/-/+{CONTENTS,REQUIRED_BY} to >> only record direct deps. > > How hard is it? What prevents us in doing it? Later we modify libtool > upstream, later we could switch to record only direct dependencies. You should talk with the libtool maintainer about libtool. Regarding the pkg-config stuff: you just have to determine which libs are direct and which are indirect deps for a specific port, move the indirect one into Libs.private, and then convince the upstream maintainers to pick up this change. Bye, Alexander. -- This is supposed to be a happy occasion. Let's not BICKER and ARGUE over who killed who! http://www.Leidinger.net Alexander @ Leidinger.net: PGP ID = B0063FE7 http://www.FreeBSD.org netchild @ FreeBSD.org : PGP ID = 72077137