Ticket #40988: gnudatalanguage.diff

File gnudatalanguage.diff, 1.4 KB (added by ryandesign (Ryan Carsten Schmidt), 10 years ago)

proposed patch

  • Portfile

     
    5454                            port:eigen3
    5555conflicts_build             antlr
    5656
     57patchfiles                  patch-src-gsl_fun.cpp.diff
     58
    5759post-patch {
    5860   # Avoid using heimdal's broken fnmatch.h
    5961   reinplace "s|<\\(fnmatch\.h\\)>|\"/usr/include/\\1\"|" ${worksrcpath}/src/file.cpp
     
    143145#    #configure.env-append    LDFLAGS=\"-Wl,-dylib_file,/System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib:/System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib\"
    144146}
    145147
    146 platform darwin {
    147     if {${os.major} >= 13} {
    148         # The python variants don't work.  With them disabled, we still fail with:
    149         # Also fails with them disabled:
    150         # gdl-0.9.3/src/gsl_fun.cpp:3772:9: error:
    151         # no viable overloaded '*='
    152         # res[j] *= exp(complex<T_phi>(0., m * phi[j * step_phi]));
    153         # ~~~~~~ ^  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    154 
    155         depends_lib
    156         depends_run
    157         pre-fetch {
    158             ui_error "$name does not build on Mavericks or later."
    159             error "unsupported platform"
    160         }
    161     }
    162 }
    163 
    164148if {[variant_isset python25] || [variant_isset python26] || [variant_isset python27]} {
    165149    configure.args-delete   -DPYTHON=OFF
    166150    configure.args-append   -DPYTHON=ON