[42240] trunk/dports/math/lp_solve
blb at macports.org
blb at macports.org
Sun Nov 16 23:13:25 PST 2008
Revision: 42240
http://trac.macports.org/changeset/42240
Author: blb at macports.org
Date: 2008-11-16 23:13:25 -0800 (Sun, 16 Nov 2008)
Log Message:
-----------
math/lp_solve - version update to 5.5.0.13 and remove unneeded compiler flag, ticket #17284
Modified Paths:
--------------
trunk/dports/math/lp_solve/Portfile
Added Paths:
-----------
trunk/dports/math/lp_solve/files/
trunk/dports/math/lp_solve/files/patch-Wno-long-double.diff
Modified: trunk/dports/math/lp_solve/Portfile
===================================================================
--- trunk/dports/math/lp_solve/Portfile 2008-11-17 06:51:34 UTC (rev 42239)
+++ trunk/dports/math/lp_solve/Portfile 2008-11-17 07:13:25 UTC (rev 42240)
@@ -3,7 +3,7 @@
PortSystem 1.0
name lp_solve
-version 5.5.0.9
+version 5.5.0.13
categories math
platforms darwin
maintainers nomaintainer
@@ -18,10 +18,11 @@
master_sites sourceforge:lpsolve
distname ${name}_${version}_source
worksrcdir ${name}_5.5
-checksums md5 8c2823c8dc3d4cb80b7510b1d500635d \
- sha1 f780dcd60a1eeac66210d4b715c50373217176c6 \
- rmd160 e5fbe8a01508165ecea069dcb71f4ba658edf341
+checksums md5 e8e71b1bf86267597d5776ab0f69721d \
+ sha1 ddad2f7aabfcc9c9998800c09b4a3d27fca7138f \
+ rmd160 63ffd2df25bde0c7ca5da4fba4140a8fb97b0495
+patchfiles patch-Wno-long-double.diff
use_configure no
set worksrcpath ${workpath}/${worksrcdir}
build.cmd cd ${worksrcpath}/lpsolve55/ && sh ./ccc.osx && \
Added: trunk/dports/math/lp_solve/files/patch-Wno-long-double.diff
===================================================================
--- trunk/dports/math/lp_solve/files/patch-Wno-long-double.diff (rev 0)
+++ trunk/dports/math/lp_solve/files/patch-Wno-long-double.diff 2008-11-17 07:13:25 UTC (rev 42240)
@@ -0,0 +1,70 @@
+diff -ur before/configure lp_solve_5.5/configure
+--- configure 2008-07-21 14:10:03.000000000 -0400
++++ configure 2008-11-17 00:01:48.000000000 -0500
+@@ -1357,7 +1357,7 @@
+ linux)
+ CCSHARED="-fPIC";;
+ apple-darwin)
+- DEF=-ldl -idirafter /usr/include/sys -DINTEGERTIME -Wno-long-double
++ DEF=-ldl -idirafter /usr/include/sys -DINTEGERTIME
+ ;;
+ OpenUNIX*|UnixWare*)
+ DEF='-dy -DNOLONGLONG'
+diff -ur before/configure.ac lp_solve_5.5/configure.ac
+--- configure.ac 2008-07-21 14:10:17.000000000 -0400
++++ configure.ac 2008-11-17 00:01:55.000000000 -0500
+@@ -21,7 +21,7 @@
+ linux)
+ CCSHARED="-fPIC";;
+ apple-darwin)
+- DEF=-ldl -idirafter /usr/include/sys -DINTEGERTIME -Wno-long-double
++ DEF=-ldl -idirafter /usr/include/sys -DINTEGERTIME
+ ;;
+ OpenUNIX*|UnixWare*)
+ DEF='-dy -DNOLONGLONG'
+diff -ur before/demo/ccc.osx lp_solve_5.5/demo/ccc.osx
+--- demo/ccc.osx 2005-06-11 16:27:44.000000000 -0400
++++ demo/ccc.osx 2008-11-17 00:02:06.000000000 -0500
+@@ -9,6 +9,6 @@
+ else dl=-ldl
+ fi
+
+-opts='-idirafter /usr/include/sys -O3 -DINTEGERTIME -Wno-long-double'
++opts='-idirafter /usr/include/sys -O3 -DINTEGERTIME'
+
+ $c -I.. -I../bfp -I../bfp/bfp_etaPFI -I../colamd $opts $def -DYY_NEVER_INTERACTIVE -DPARSER_LP $src -o demo $math $dl
+diff -ur before/lp_solve/ccc.osx lp_solve_5.5/lp_solve/ccc.osx
+--- lp_solve/ccc.osx 2005-06-11 16:27:38.000000000 -0400
++++ lp_solve/ccc.osx 2008-11-17 00:02:22.000000000 -0500
+@@ -9,6 +9,6 @@
+ else dl=-ldl
+ fi
+
+-opts='-idirafter /usr/include/sys -O3 -DINTEGERTIME -Wno-long-double'
++opts='-idirafter /usr/include/sys -O3 -DINTEGERTIME'
+
+ $c -I.. -I../bfp -I../bfp/bfp_LUSOL -I../bfp/bfp_LUSOL/LUSOL -I../colamd -I../shared $opts $def -DYY_NEVER_INTERACTIVE -DPARSER_LP -DINVERSE_ACTIVE=INVERSE_LUSOL -DRoleIsExternalInvEngine $src -o lp_solve $math $dl
+diff -ur before/lpsolve55/ccc.osx lp_solve_5.5/lpsolve55/ccc.osx
+--- lpsolve55/ccc.osx 2005-06-23 17:53:08.000000000 -0400
++++ lpsolve55/ccc.osx 2008-11-17 00:02:38.000000000 -0500
+@@ -9,7 +9,7 @@
+ so=y
+ fi
+
+-opts='-idirafter /usr/include/sys -O3 -DINTEGERTIME -Wno-long-double'
++opts='-idirafter /usr/include/sys -O3 -DINTEGERTIME'
+
+ $c -s -c -I.. -I../shared -I../bfp -I../bfp/bfp_LUSOL -I../bfp/bfp_LUSOL/LUSOL -I../colamd $opts $def -DYY_NEVER_INTERACTIVE -DPARSER_LP -DINVERSE_ACTIVE=INVERSE_LUSOL -DRoleIsExternalInvEngine $src
+ libtool -static -o liblpsolve55.a `echo $src|sed s/[.]c/.o/g|sed 's/[^ ]*\///g'`
+diff -ur before/lpsolve55/cccLUSOL.osx lp_solve_5.5/lpsolve55/cccLUSOL.osx
+--- lpsolve55/cccLUSOL.osx 2005-06-23 17:53:18.000000000 -0400
++++ lpsolve55/cccLUSOL.osx 2008-11-17 00:02:42.000000000 -0500
+@@ -9,7 +9,7 @@
+ so=y
+ fi
+
+-opts='-idirafter /usr/include/sys -O3 -DINTEGERTIME -Wno-long-double'
++opts='-idirafter /usr/include/sys -O3 -DINTEGERTIME'
+
+ $c -s -c -I.. -I../shared -I../bfp -I../bfp/bfp_LUSOL -I../bfp/bfp_LUSOL/LUSOL -I../colamd $opts $def -DYY_NEVER_INTERACTIVE -DPARSER_LP -DINVERSE_ACTIVE=INVERSE_LUSOL -DRoleIsExternalInvEngine $src
+ libtool -static -o liblpsolve55.a `echo $src|sed s/[.]c/.o/g|sed 's/[^ ]*\///g'`
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20081116/f2e8ab24/attachment-0001.html>
More information about the macports-changes
mailing list