id summary reporter owner description type status priority milestone component version resolution keywords cc port 39567 pslib stealth dependence on libraries from /usr/local/lib (affects gnudatalanguage) gnw3 macports-tickets@… "This is mainly an attempt to record a potential issue for gnudatalanguage users. The {{{configure}}} script for pslib searches for graphics libraries in {{{/usr}}} and {{{/usr/local}}}: {{{ for i in ${withval} /usr /usr/local ; do if test -r $i/include/png.h ; then PNG_LIBDIR=-L$i/lib PNG_INCLUDEDIR=-I$i/include PNG_PREFIX=$i break fi }}} As a result, systems that have one or more of the graphics libraries mentioned in the info file will use the versions from {{{/usr/local/lib}}}. I don't know if gnudatalanguage actually uses the parts of pslib that depend on these libraries, but if the user updates the libraries in {{{/usr/local/lib}}} then gnudatalanguage may get a startup error. To avoid this macports versions of the graphics libraries in the Portfile: {{{ configure.args-append --with-png=${prefix} \ --with-jpeg=${prefix} \ --with-gif=${prefix} \ --with-tiff=${prefix} }}} Note that the gif support is not actually used because the macports library files the configure tests. Also, documentation won't be built because configure looks for an obsolete {{{docbook_to_man}}} utility. It may also be necessary to provide: {{{ pre-build { build.args LIBS=-lintl } }}} Without this, some systems give runtime errors for missing {{{_libintl_setlocale_}}}. I'm not sure pslib should be calling setlocale as that is normally a responsibilty of the calling program. CCing the gnudatalanguage maintainer as pslib doesn't appear to be used elsewhere and shows ""nomaintainer"". " enhancement new Normal ports 2.1.3 tenomoto cooljeanius pslib