aMule 22.3 porting - some questions

Dmitry Marakasov amdmi3 at amdmi3.ru
Tue Dec 30 17:44:30 UTC 2008


* Torfinn Ingolfsen (tingox at 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 at amdmi3.ru  ..:  jabber: amdmi3 at jabber.ru    http://www.amdmi3.ru


More information about the freebsd-ports mailing list