Unstated dependencies on gettext

Jim Mock mij at macports.org
Thu Dec 28 17:24:44 PST 2006


On Dec 28, 2006, at 5:00 PM, Kevin Ballard wrote:
> After having updated gettext, I'm finding a number of ports that  
> are linking against libintl (provided by gettext) but don't declare  
> a dependency on gettext.
>
> For example, gsed links against libiconv, but doesn't declare a  
> dependency on gettext.

This is because libiconv depends on gettext so, if you've got  
libiconv, you've got gettext.

> The question I have is, would some of these ports have worked if  
> gettext wasn't installed, but just happen to link against libintl  
> for extra functionality if it's there?

It should because something it depends on depends on gettext (whether  
it be libiconv or something else).

- jim






More information about the macports-dev mailing list