Unstated dependencies on gettext
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. 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? I don't want to go adding gettext dependencies all over the place if it's not strictly needed, but on the other hand I'd like to be able to look up all ports that link against gettext, since upgrading it changed the major version number (actually, only version number) of the library and so everything has to re-link. -- Kevin Ballard http://kevin.sb.org eridius@macports.org http://www.tildesoft.com
I'm sorry, I meant libintl On Dec 28, 2006, at 8:00 PM, Kevin Ballard wrote:
For example, gsed links against libiconv, but doesn't declare a dependency on gettext.
-- Kevin Ballard http://kevin.sb.org eridius@macports.org http://www.tildesoft.com
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
Crap, ignore that, I had it backwards. The gettext port actually depends on libiconv and not the other way around. If you do come across things that link against libintl and don't have gettext as a dependency (whether direct or indirect), it should probably be added as one. - jim On Dec 28, 2006, at 5:24 PM, Jim Mock wrote:
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
_______________________________________________ macports-dev mailing list macports-dev@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo/macports-dev
participants (2)
-
Jim Mock
-
Kevin Ballard