Gettext only at build time (was: [51224] trunk/dports/gnome/gdl/Portfile

Ryan Schmidt ryandesign at macports.org
Thu May 21 02:22:09 PDT 2009


On May 21, 2009, at 02:26, devans at macports.org wrote:

> +depends_build       port:pkgconfig \
> +                    port:intltool \
> +                    port:gettext \
> +                    port:p5-xml-parser \
> +                    port:gtk-doc

I've seen other ports list gettext as a build dependency, but I've  
always wondered what kind of software would want to use gettext at  
build time but not at runtime? How does that work? It is a  
localization system, and the way it's usually used is to compile text  
message catalogs into a binary form at build time, and to link with  
the libintl library, and at runtime to use libintl to load those  
message catalogs and pull translations out of them.



More information about the macports-dev mailing list