Ticket #45210: Portfile-octave.3.diff
File Portfile-octave.3.diff, 1.4 KB (added by Schamschula (Marius Schamschula), 10 years ago) |
---|
-
Portfile
old new 9 9 name octave 10 10 11 11 version 3.8.2 12 revision 312 revision 4 13 13 #conflicts octave-devel 14 14 categories math science 15 15 maintainers michaelld openmaintainer … … 118 118 # See also < http://llvm.org/bugs/show_bug.cgi?id=21083 > 119 119 # < https://trac.macports.org/ticket/45011 >. 120 120 121 compiler.blacklist-append {clang >= 600}macports-clang-3.5 macports-clang-3.6121 compiler.blacklist-append macports-clang-3.5 macports-clang-3.6 122 122 123 123 platform darwin { 124 124 if {${os.major} >= 12} { … … 131 131 132 132 build.args-append LANG="C" 133 133 } 134 135 if {${os.major} >= 13} { 136 patchfiles-append octave-3.8.2-clang-libcxx.patch 137 } 134 138 } 135 139 136 140 # atlas does not work with g95, so always conflict with it … … 254 258 post-destroot { 255 259 system "echo 'graphics_toolkit(\"gnuplot\");' >> ${destroot}${prefix}/share/octave/site/m/startup/octaverc" 256 260 261 if {${os.major} >= 13} { 262 xinstall -m 640 ${worksrcpath}/liboctave/operators/libcxx-fix.h \ 263 ${destroot}${prefix}/include/${name}-${version}/${name}/libcxx-fix.h 264 } 265 257 266 if {[variant_isset gui]} { 258 267 set appdir ${destroot}${applications_dir}/Octave.app 259 268 xinstall -d ${appdir}/Contents/MacOS