Ticket #45210: Portfile-octave.2.diff
File Portfile-octave.2.diff, 1.3 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 212 revision 3 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 if {![fortran_variant_isset]} { … … 269 273 270 274 reinplace -W ${appdir}/Contents "s,@@VERSION@@,${version},g" Info.plist 271 275 reinplace -W ${appdir}/Contents/MacOS "s,@@PREFIX@@,${prefix},g" Octave 276 277 if {${os.major} >= 13} { 278 xinstall -m 640 ${worksrcpath}/liboctave/operators/libcxx-fix.h \ 279 ${destroot}${prefix}/include/${name}-${version}/${name}/libcxx-fix.h 280 } 272 281 } 273 282 } 274 283