Ticket #29919: Portfile-octave-devel.diff
File Portfile-octave-devel.diff, 5.0 KB (added by lukas.reichlin@…, 13 years ago) |
---|
-
Portfile
old new 4 4 PortSystem 1.0 5 5 6 6 name octave-devel 7 version 3.4. 07 version 3.4.2 8 8 conflicts octave 9 9 categories math science 10 10 maintainers michaelld openmaintainer … … 23 23 distname octave-${version} 24 24 use_bzip2 yes 25 25 26 checksums md5 c8144cee1d37e645d3368a8e8a5f1856\27 sha1 936a8fc962abd96e7568fb5909ec2a4d7997a1a8\28 rmd160 8448fc8277e19dab8dbc5c0121e673e9198c74ec26 checksums md5 31c744ab4555a2bf04d5e644b93f9b51 \ 27 sha1 12cac29ef7d1ab8374980e1e2fd14637b2f15ba5 \ 28 rmd160 ad2222ad0b3e0f1dd6db1ff8ca93c0666b95e3a0 29 29 30 30 depends_build port:bison \ 31 31 port:flex \ … … 53 53 port:readline \ 54 54 port:qhull \ 55 55 port:qrupdate \ 56 port:SuiteSparse 56 port:SuiteSparse \ 57 port:fltk-devel 57 58 58 59 # allow non-Apple compilers to work with FLTK by removing the -arch 59 60 # flag, which means this port cannot easy compile as universal. 60 patchfiles-append patch-configure.diff61 # patchfiles-append patch-configure.diff 61 62 62 63 universal_variant no 63 64 64 65 configure.args --without-x \ 65 --enable-shared \ 66 --enable-dl \ 67 --disable-docs \ 68 --disable-openmp 66 --disable-docs 69 67 70 68 # do not build static libraries; just shared 71 69 # --enable-static … … 74 72 ### 'cholmod' one), but are included for completion. Ordering is the 75 73 ### same as in './configure --help'. 76 74 configure.args-append \ 77 --enable-readline \ 78 --enable-extra-warning-flags \ 79 --with-qhull \ 80 --with-z \ 81 --with-hdf5 \ 82 --with-fftw3 \ 83 --with-fftw3f \ 84 --with-glpk \ 85 --with-curl \ 86 --with-blas \ 87 --with-lapack \ 88 --with-qrupdate \ 89 --with-amd \ 90 --with-camd \ 91 --with-colamd \ 92 --with-ccolamd \ 93 --with-cholmod="-lcholmod -lmetis" \ 94 --with-cxsparse \ 95 --with-umfpack \ 96 --with-arpack 75 --with-cholmod="-lcholmod -lmetis" 97 76 98 77 ### the following are probably not necessary, but are included for 99 78 ### completion. … … 101 80 # perl, gawk, gsed, flex, bison, texinfo. python is not used if perl 102 81 # is available, so clear it out. FLTK doesn't work as of 1.3.x-r7794, 103 82 # so disable it entirely (via "no" here and a configure patch). 104 configure.perl ${prefix}/bin/perl 105 configure.python ' ' 106 configure.awk ${prefix}/bin/gawk 107 configure.env-append SED="${prefix}/bin/gsed" \ 108 TEXI2DVI="${prefix}/bin/texi2dvi" \ 109 TEXI2PDF="${prefix}/bin/texi2pdf" \ 110 FLTK_CONFIG=no 111 configure.cppflags 112 configure.ldflags 83 #configure.perl ${prefix}/bin/perl 84 #configure.python ' ' 85 #configure.awk ${prefix}/bin/gawk 86 #configure.env-append FLTK_CONFIG=no 87 #configure.cppflags 88 #configure.ldflags 113 89 114 90 test.run yes 115 91 test.target check … … 128 104 # check for default variant 129 105 if { ![variant_isset gcc43] && ![variant_isset gcc44] && \ 130 106 ![variant_isset gcc45] && ![variant_isset g95] } { 131 default_variants +gcc44 107 # default_variants +gcc44 108 default_variants +gcc45 132 109 } 133 110 134 111 # check for just -gcc44 … … 162 139 configure.args-append --x-includes=${prefix} 163 140 } 164 141 165 variant debug description {Produce debugging information in compiled code} {166 configure.cflags-delete -O2167 configure.cxxflags-delete -O2168 configure.fflags-delete -O2169 configure.fcflags-delete -O2170 configure.f90flags-delete -O2171 configure.objcflags-delete -O2172 configure.cflags-append -g3 -O0173 configure.cxxflags-append -g3 -O0174 configure.fcflags-append -g3 -O0175 configure.f90flags-append -g3 -O0176 configure.fflags-append -g3 -O0177 configure.objcflags-append -g3 -O0178 }142 #variant debug description {Produce debugging information in compiled code} { 143 # configure.cflags-delete -O2 144 # configure.cxxflags-delete -O2 145 # configure.fflags-delete -O2 146 # configure.fcflags-delete -O2 147 # configure.f90flags-delete -O2 148 # configure.objcflags-delete -O2 149 # configure.cflags-append -g3 -O0 150 # configure.cxxflags-append -g3 -O0 151 # configure.fcflags-append -g3 -O0 152 # configure.f90flags-append -g3 -O0 153 # configure.fflags-append -g3 -O0 154 # configure.objcflags-append -g3 -O0 155 #} 179 156 180 157 #variant fltk description {Include FLTK option} { 181 158 # depends_lib-append port:fltk-devel