Ticket #45210: Portfile-octave.diff
File Portfile-octave.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 112 revision 2 13 13 #conflicts octave-devel 14 14 categories math science 15 15 maintainers michaelld openmaintainer … … 114 114 # See also < http://llvm.org/bugs/show_bug.cgi?id=21083 > 115 115 # < https://trac.macports.org/ticket/45011 >. 116 116 117 compiler.blacklist-append {clang >= 600}macports-clang-3.5 macports-clang-3.6117 compiler.blacklist-append macports-clang-3.5 macports-clang-3.6 118 118 119 119 platform darwin { 120 120 if {${os.major} >= 12} { … … 127 127 128 128 build.args-append LANG="C" 129 129 } 130 131 if {${os.major} >= 13} { 132 patchfiles octave-3.8.2-clang-libcxx.patch 133 134 post-patch { 135 reinplace "s/(10\.\[012\])\*/\1\,.\*/g" \ 136 ${worksrcpath}/configure 137 } 138 } 130 139 } 131 140 132 141 if {![fortran_variant_isset]} { … … 266 275 reinplace -W ${appdir}/Contents "s,@@VERSION@@,${version},g" Info.plist 267 276 reinplace -W ${appdir}/Contents/MacOS "s,@@PREFIX@@,${prefix},g" Octave 268 277 } 278 279 if {${os.major} >= 13} { 280 xinstall -m 640 ${worksrcpath}/liboctave/operators/libcxx-fix.h \ 281 ${destroot}${prefix}/include/${name}-${version}/${name}/libcxx-fix.h 282 } 269 283 } 270 284 271 285 livecheck.type regex