[47216] trunk/dports/science/gwyddion/Portfile

Ryan Schmidt ryandesign at macports.org
Tue Feb 24 00:07:23 PST 2009


On Feb 23, 2009, at 12:29, rowue at macports.org wrote:

> +# deactivation because of gtkglext problems
> +# platform darwin 9 {
> +#     if {[variant_isset system_x11]} {
> +#         set darwin_9_glpath   /System/Library/Frameworks/ 
> OpenGL.framework/Versions/
> +#         configure.ldflags-append -Wl,-dylib_file,$ 
> {darwin_9_glpath}/A/Libraries/libGL.dylib:\
> +#         ${darwin_9_glpath}/A/Libraries/libGL.dylib
> +#     }
> +# }

I don't understand this comment above this disabled platform variant.  
Because all that the code in the platform variant is doing is working  
around a bug in Xcode 3.0 on Leopard which has been fixed in Xcode  
3.1. So it should be safe to remove that entire block. Ideally you  
would replace it with a check to make sure the user has Xcode 3.1,  
like this:

http://trac.macports.org/changeset/47091




More information about the macports-dev mailing list