[22360] trunk/dports/math/octave
source_changes at macosforge.org
source_changes at macosforge.org
Tue Feb 27 02:32:00 PST 2007
Revision: 22360
http://trac.macosforge.org/projects/macports/changeset/22360
Author: stechert at macports.org
Date: 2007-02-27 02:31:59 -0800 (Tue, 27 Feb 2007)
Log Message:
-----------
add dependencies for pcre, curl, and glpk. patch octave's configure so that it looks for _glp_lpx_simplex instead of glp_lpx_simplex
Modified Paths:
--------------
trunk/dports/math/octave/Portfile
Added Paths:
-----------
trunk/dports/math/octave/files/patch-configure-2
Modified: trunk/dports/math/octave/Portfile
===================================================================
--- trunk/dports/math/octave/Portfile 2007-02-27 09:07:55 UTC (rev 22359)
+++ trunk/dports/math/octave/Portfile 2007-02-27 10:31:59 UTC (rev 22360)
@@ -23,7 +23,7 @@
checksums md5 a76a6d88f414285472896a63e4282b7f
patch.args -p1
-patchfiles patch-configure patch-dynamic-ld-cc
+patchfiles patch-configure patch-dynamic-ld-cc patch-configure-2
depends_build bin:texinfo:texinfo \
bin:tex:teTeX \
@@ -32,7 +32,10 @@
depends_lib lib:libreadline.5:readline \
port:hdf5 \
port:fftw-3 \
- port:SuiteSparse
+ port:SuiteSparse \
+ port:pcre \
+ port:curl \
+ port:glpk
depends_run bin:gnuplot:gnuplot
Added: trunk/dports/math/octave/files/patch-configure-2
===================================================================
--- trunk/dports/math/octave/files/patch-configure-2 (rev 0)
+++ trunk/dports/math/octave/files/patch-configure-2 2007-02-27 10:31:59 UTC (rev 22360)
@@ -0,0 +1,29 @@
+--- octave-2.9.9.orig/configure 2007-02-27 01:55:00.000000000 -0800
++++ octave-2.9.9/configure 2007-02-27 01:55:37.000000000 -0800
+@@ -10788,9 +10788,9 @@
+
+ GLPK_LIBS=
+ if test -n "$glpk_lib"; then
+- as_ac_Lib=`echo "ac_cv_lib_$glpk_lib''_glp_lpx_simplex" | $as_tr_sh`
+-{ echo "$as_me:$LINENO: checking for glp_lpx_simplex in -l$glpk_lib" >&5
+-echo $ECHO_N "checking for glp_lpx_simplex in -l$glpk_lib... $ECHO_C" >&6; }
++ as_ac_Lib=`echo "ac_cv_lib_$glpk_lib''__glp_lpx_simplex" | $as_tr_sh`
++{ echo "$as_me:$LINENO: checking for _glp_lpx_simplex in -l$glpk_lib" >&5
++echo $ECHO_N "checking for _glp_lpx_simplex in -l$glpk_lib... $ECHO_C" >&6; }
+ if { as_var=$as_ac_Lib; eval "test \"\${$as_var+set}\" = set"; }; then
+ echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+@@ -10809,11 +10809,11 @@
+ #ifdef __cplusplus
+ extern "C"
+ #endif
+-char glp_lpx_simplex ();
++char _glp_lpx_simplex ();
+ int
+ main ()
+ {
+-return glp_lpx_simplex ();
++return _glp_lpx_simplex ();
+ ;
+ return 0;
+ }
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20070227/24300511/attachment.html
More information about the macports-changes
mailing list