On Fri, Mar 27, 2009 at 07:03:02AM -0500, Ryan Schmidt said: > On Mar 27, 2009, at 02:30, [email protected] wrote: > >> Revision: 48690 >> http://trac.macports.org/changeset/48690 >> Author: [email protected] >> Date: 2009-03-27 00:30:31 -0700 (Fri, 27 Mar 2009) >> Log Message: >> ----------- >> graphics/netpbm - use better paths for rgb.txt; should fix ticket >> #14700 > > [snip] > >> + #else >> +-#define RGB_DB1 "/usr/lib/X11/rgb.txt" >> +-#define RGB_DB2 "/usr/openwin/lib/rgb.txt" >> ++#define RGB_DB1 "@@PREFIX@@/share/netpbm/rgb.txt" >> ++#define RGB_DB2 "/usr/X11/share/X11/rgb.txt" >> + #define RGB_DB3 "/usr/X11R6/lib/X11/rgb.txt" >> + #endif > > What is the significance of /usr/X11/share/X11/rgb.txt? Will that ever be > used? It won't work on Tiger and earlier. If you used /usr/X11R6 instead > that would work on all OSes since Leopard includes a symlink there. Or you > could reinplace ${x11prefix}.
netpbm by design has the slots for three locations, and the first one for the port (now) will always work; I updated the second simply to be compatible with 10.5's X11, and older OS's will work with how the third one has always been. Bryan _______________________________________________ macports-dev mailing list [email protected] http://lists.macosforge.org/mailman/listinfo.cgi/macports-dev
