Changeset 79770
- Timestamp:
- 06/25/11 02:44:44 (4 years ago)
- Location:
- trunk/dports/math/octave-devel
- Files:
-
- 2 edited
-
Portfile (modified) (7 diffs)
-
files/patch-configure.diff (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/dports/math/octave-devel/Portfile
r78774 r79770 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 … … 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 \ … … 32 32 port:gawk \ 33 33 port:gperf \ 34 port:grep \ 34 35 port:gsed \ 35 36 path:bin/perl:perl5 \ … … 57 58 58 59 # allow non-Apple compilers to work with FLTK by removing the -arch 59 # flag, which means this port cannot eas y compile as universal.60 # flag, which means this port cannot easily compile as universal. 60 61 patchfiles-append patch-configure.diff 61 62 62 63 universal_variant no 63 64 64 configure.args --without-x \ 65 --enable-shared \ 66 --enable-dl \ 65 configure.args --disable-dependency-tracking \ 66 --without-x \ 67 67 --disable-docs \ 68 -- disable-openmp68 --with-cholmod="-lcholmod -lmetis" 69 69 70 # do not build static libraries; just shared71 # --enable-static72 73 ### the following are probably not necessary (except possibly the74 ### 'cholmod' one), but are included for completion. Ordering is the75 ### same as in './configure --help'.76 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-arpack97 98 ### the following are probably not necessary, but are included for99 ### completion.100 70 # octave uses a number of other ports to create sources from template: 101 # perl, gawk, gsed, flex, bison, texinfo. python is not used if perl 102 # is available, so clear it out. FLTK doesn't work as of 1.3.x-r7794, 103 # so disable it entirely (via "no" here and a configure patch). 71 # perl, gawk, gsed, flex, bison, texinfo. Make sure these are the 72 # MacPorts' versions. Python is not used if perl is available, so 73 # clear it out. grep is checked for in 'configure', but not used 74 # except inside that script; include it here for completion. 104 75 configure.perl ${prefix}/bin/perl 105 76 configure.python ' ' 106 77 configure.awk ${prefix}/bin/gawk 107 configure.env-append SED="${prefix}/bin/gsed" \ 78 configure.env-append GREP="${prefix}/bin/grep" \ 79 FLTK_CONFIG=no \ 80 SED="${prefix}/bin/gsed" \ 108 81 TEXI2DVI="${prefix}/bin/texi2dvi" \ 109 TEXI2PDF="${prefix}/bin/texi2pdf" \ 110 FLTK_CONFIG=no 82 TEXI2PDF="${prefix}/bin/texi2pdf" 111 83 configure.cppflags 112 84 configure.ldflags … … 126 98 } 127 99 128 # check for default variant 100 # check for GCC / G95 variants. The default here must match the 101 # default found in the 'arpack' and 'atlas' ports. 102 103 # check for setting the default variant (gcc44) 129 104 if { ![variant_isset gcc43] && ![variant_isset gcc44] && \ 130 105 ![variant_isset gcc45] && ![variant_isset g95] } { … … 132 107 } 133 108 134 # check for just-gcc44109 # check if the user disabled just the default variant: -gcc44 135 110 if { ![variant_isset gcc43] && ![variant_isset gcc44] && \ 136 111 ![variant_isset gcc45] && ![variant_isset g95] } { … … 178 153 } 179 154 180 #variant fltk description {Include FLTK option} { 181 # depends_lib-append port:fltk-devel 182 # post-patch { 183 # # fix use of #include Fl -> FL 184 # reinplace "/include/s,Fl/,FL/,g" 185 # ${worksrcpath}/src/DLD-FUNCTIONS/__init_fltk__.cc 186 # } 187 #} 188 189 #if {![variant_isset fltk]} { 190 # configure.env-append FLTK_CONFIG=no 191 #} 155 # FLTK does work as of 1.3.x-r8635, so allow it as an option 156 variant fltk description {Include FLTK for graphical front-end} { 157 depends_lib-append port:fltk-devel 158 configure.env-delete FLTK_CONFIG=no 159 } 192 160 193 161 livecheck.type regex -
trunk/dports/math/octave-devel/files/patch-configure.diff
r75278 r79770 1 --- configure.orig 2011-0 1-15 04:08:46.000000000 -05002 +++ configure 2011-0 1-19 10:06:38.000000000 -05003 @@ -3 2346,6 +32346,21 @@1 --- configure.orig 2011-06-25 10:04:48.000000000 +0200 2 +++ configure 2011-06-25 10:05:19.000000000 +0200 3 @@ -33171,6 +33171,21 @@ 4 4 5 5 ## fltk (www.fltk.org) … … 23 23 # Check whether --with-fltk-prefix was given. 24 24 if test "${with_fltk_prefix+set}" = set; then : 25 @@ -3 2422,6 +32437,7 @@25 @@ -33247,6 +33262,7 @@ 26 26 $as_echo "no" >&6; } 27 27 fi … … 31 31 32 32 warn_fltk_config="" 33 @@ -3 2432,11 +32448,29 @@33 @@ -33257,11 +33273,29 @@ 34 34 else 35 35 FLTK_CFLAGS="`$FLTK_CONFIG $fltkconf_args --use-gl --cflags`"
Note: See TracChangeset
for help on using the changeset viewer.

