Ticket #48699: Portfile-octave.diff
File Portfile-octave.diff, 3.4 KB (added by Schamschula (Marius Schamschula), 9 years ago) |
---|
-
Portfile
old new 8 8 9 9 name octave 10 10 11 version 3.8.2 12 revision 11 11 version 4.0.0 13 12 #conflicts octave-devel 14 13 categories math science 15 14 maintainers michaelld openmaintainer … … 28 27 dist_subdir octave 29 28 distname octave-${version} 30 29 master_sites gnu:octave 31 use_ bzip2yes30 use_xz yes 32 31 33 checksums rmd160 60201b29d368d0c935a34288c227d202ae286c6c\34 sha256 83bbd701aab04e7e57d0d5b8373dd54719bebb64ce0a850e69bf3d7454f33bae32 checksums rmd160 57a4c6a90fbe49ad5268b257a4847788061daa49 \ 33 sha256 cf6be2fac6796fda68971e249c96d026ce4a1b0ed074ce49a5791365a958c474 35 34 36 35 compilers.choose fc f77 f90 37 36 compilers.setup require_fortran 38 37 39 38 depends_build-append \ 39 port:autoconf \ 40 port:automake \ 40 41 port:bison \ 41 42 port:flex \ 42 43 port:gperf \ 44 port:icoutils \ 45 port:librsvg \ 46 port:libtool \ 43 47 path:bin/perl:perl5 \ 44 48 port:pkgconfig 45 49 … … 49 53 port:fftw-3 \ 50 54 port:fftw-3-single \ 51 55 port:gawk \ 56 port:ghostscript \ 57 port:gl2ps \ 52 58 port:glpk \ 53 59 port:gnuplot \ 54 60 port:GraphicsMagick \ … … 66 72 port:texinfo 67 73 68 74 depends_run-append port:epstool \ 69 port:ghostscript \70 75 port:transfig \ 71 76 port:pstoedit 72 77 … … 74 79 75 80 universal_variant no 76 81 77 # Don't link with "-flat_namespace -undefined suppress" 78 # on Mac OS X 10.10 Yosemite and later. 79 80 patchfiles-append patch-yosemite-libtool.diff 81 82 # Fix certain versions of libc++ use of 'pow'; 83 # See also: < http://llvm.org/bugs/show_bug.cgi?id=21083 > 84 # < https://trac.macports.org/ticket/45210 > 85 # Adding in this patch will not hurt when using a working 86 # version of libcxx (< 1101), nor with using libstdcxx 87 # (where _LIBCPP_VERSION is not defined). 88 # 89 # REMINDER: check without this patch when new libcxx 90 # is available, to determine a stopping point for 91 # when this issue was fixed; add that version to 92 # the patch to "mx-inlines.cc". 93 94 patchfiles-append patch-clang-libcxx.diff 95 96 # fix gl2ps renderer interface for compiling using older clang. 97 # See also: < https://trac.macports.org/ticket/44704 > 98 99 patchfiles-append patch-gl2ps_renderer.diff 82 # Patch file from Homebrew 83 patchfiles-append patch-rollup.diff 100 84 101 85 # common configure arguments 102 86 103 87 configure.args \ 88 --disable-bounds-check \ 104 89 --disable-dependency-tracking \ 105 90 --with-umfpack="-lumfpack -lSuiteSparse" \ 106 --enable-docs \ 107 --enable-strict-warning-flags \ 108 --disable-silent-rules 91 --disable-jit \ 92 --enable-link-all-dependencies \ 93 --without-OSMesa \ 94 --enable-docs 109 95 110 96 # when using "hdf5 +mpich", have to manually include 111 97 # "/opt/local/include/mpich-mp". See also: … … 242 228 243 229 if {[variant_isset glgui]} { 244 230 245 configure.args-append --with-opengl 231 configure.args-append --with-opengl \ 232 --with-framework-opengl 246 233 247 234 } else { 248 235