[48690] trunk/dports/graphics/netpbm

Ryan Schmidt ryandesign at macports.org
Fri Mar 27 05:03:02 PDT 2009


On Mar 27, 2009, at 02:30, blb at macports.org wrote:

> Revision: 48690
>           http://trac.macports.org/changeset/48690
> Author:   blb at macports.org
> 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}.



More information about the macports-dev mailing list