Ticket #40988: gnudatalanguage.diff
File gnudatalanguage.diff, 1.4 KB (added by ryandesign (Ryan Carsten Schmidt), 11 years ago) |
---|
-
Portfile
54 54 port:eigen3 55 55 conflicts_build antlr 56 56 57 patchfiles patch-src-gsl_fun.cpp.diff 58 57 59 post-patch { 58 60 # Avoid using heimdal's broken fnmatch.h 59 61 reinplace "s|<\\(fnmatch\.h\\)>|\"/usr/include/\\1\"|" ${worksrcpath}/src/file.cpp … … 143 145 # #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\" 144 146 } 145 147 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_lib156 depends_run157 pre-fetch {158 ui_error "$name does not build on Mavericks or later."159 error "unsupported platform"160 }161 }162 }163 164 148 if {[variant_isset python25] || [variant_isset python26] || [variant_isset python27]} { 165 149 configure.args-delete -DPYTHON=OFF 166 150 configure.args-append -DPYTHON=ON