From owner-freebsd-ports@FreeBSD.ORG Tue Dec 30 17:44:30 2008 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 727001065672 for ; Tue, 30 Dec 2008 17:44:30 +0000 (UTC) (envelope-from amdmi3@amdmi3.ru) Received: from smtp.timeweb.ru (smtp.timeweb.ru [217.170.79.85]) by mx1.freebsd.org (Postfix) with ESMTP id 27D928FC20 for ; Tue, 30 Dec 2008 17:44:29 +0000 (UTC) (envelope-from amdmi3@amdmi3.ru) Received: from [213.148.20.85] (helo=hive.panopticon) by smtp.timeweb.ru with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.69) (envelope-from ) id 1LHidr-0001YA-DM; Tue, 30 Dec 2008 20:44:31 +0300 Received: from hades.panopticon (hades.panopticon [192.168.0.32]) by hive.panopticon (Postfix) with ESMTP id 115A5D91A; Tue, 30 Dec 2008 20:42:34 +0300 (MSK) Received: by hades.panopticon (Postfix, from userid 1000) id 0FF6917033; Tue, 30 Dec 2008 20:44:55 +0300 (MSK) Date: Tue, 30 Dec 2008 20:44:54 +0300 From: Dmitry Marakasov To: Torfinn Ingolfsen Message-ID: <20081230174454.GB81218@hades.panopticon> References: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.18 (2008-05-17) Cc: freebsd-ports@freebsd.org Subject: Re: aMule 22.3 porting - some questions 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, 30 Dec 2008 17:44:30 -0000 * Torfinn Ingolfsen (tingox@gmail.com) wrote: > Ok, I have passed the first milestone or two - the aMule 2.2.3 port > now compiles and installs. > During the install step I see this: > if test "amule" = "gettext" \ > && test '' = 'intl-compat.o'; then \ > /bin/sh `case "./mkinstalldirs" in /*) echo "./mkinstalldirs" ;; *) > echo ".././mkinstalldirs" ;; esac` /usr/local/lib /usr/local/include; > \ > install -o root -g wheel -m 444 libintl.h /usr/local/include/libintl.h; \ > @LIBTOOL@ --mode=install \ > install -o root -g wheel -m 444 libintl.a /usr/local/lib/libintl.a; \ > else \ > : ; \ > fi > These files are installed by gettext (verified with pkg_info -W ..). > So what exactly are the aMule install trying to do here? > > Ok, that was only one question. :-) Seems like gettext and all gettext consumers use the same set of autotools macros, but gettext itself should be processed differently by them. Thus the `if'. Since "amule" = "gettext" evaluates to false, this code does nothing, it just gets echoed my gmake. -- Dmitry Marakasov . 55B5 0596 FF1E 8D84 5F56 9510 D35A 80DD F9D2 F77D amdmi3@amdmi3.ru ..: jabber: amdmi3@jabber.ru http://www.amdmi3.ru