From owner-freebsd-ports@FreeBSD.ORG Sun Feb 22 08:00:53 2009 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 A5ACE1065670 for ; Sun, 22 Feb 2009 08:00:53 +0000 (UTC) (envelope-from scdbackup@gmx.net) Received: from mail.gmx.net (mail.gmx.net [213.165.64.20]) by mx1.freebsd.org (Postfix) with SMTP id F210B8FC15 for ; Sun, 22 Feb 2009 08:00:52 +0000 (UTC) (envelope-from scdbackup@gmx.net) Received: (qmail invoked by alias); 22 Feb 2009 08:00:51 -0000 Received: from 165.126.46.212.adsl.ncore.de (HELO 212.46.126.165) [212.46.126.165] by mail.gmx.net (mp071) with SMTP; 22 Feb 2009 09:00:51 +0100 X-Authenticated: #2145628 X-Provags-ID: V01U2FsdGVkX19RoVt+7v1RfUk6dCAt/rFc1tceatwt8Enoj6eMXb 9+JgdMy3s12gKQ Date: Sun, 22 Feb 2009 09:01:11 +0100 From: "Thomas Schmitt" To: freebsd-ports@freebsd.org References: In-Reply-To: Message-Id: <102368396318493@212.46.126.165> X-Y-GMX-Trusted: 0 X-FuHaFi: 0.57 Subject: Re: Problem with .so numbering on FreeBSD in contrast to Linux 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: Sun, 22 Feb 2009 08:00:54 -0000 Hi, Jeremy Messenger wrote: > The ltverhack is a hack in ports/Mk/bsd.gnome.mk[1]. > ltverhack_PRE_PATCH= for file in gnome-ltmain.sh gnome-libtool; do \ > ... [some impressive shell code] ... Looks like they patch their private libtool on demand. My problem appears to be a simple bug in the autotools package of SuSE Linux 10.2. So i decided to adjust the "freebsd-elf" case of /usr/share/libtool/ltmain.sh on my machine to the prescriptions in http://www.freebsd.org/doc/en/books/developers-handbook/policies-shlib.html That template file gets copied into my project directories by command libtoolize in ./bootstrap. So the problem will be gone automatically with the next releases. ... until i get a new computer and install new autotools. The problematic code is still in http://ftp.gnu.org/gnu/libtool/libtool-2.2.6a.tar.gz as it seems. I did not install. But i see in libtool-2.2.6/libltdl/config/ltmain.sh libtool-2.2.6/libltdl/config/ltmain.m4sh the undesirable code snippet: freebsd-elf) major=".$current" versuffix=".$current" ;; Maybe the FreeBSD community should discuss this with the GNU libtool project. I myself feel not apt for that. Have a nice day :) Thomas