summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authortnut <thierryn1 at hispeed dot ch>2010-10-14 22:59:23 +0200
committertnut <thierryn1 at hispeed dot ch>2010-10-14 22:59:23 +0200
commit37e875d8ef176f86e3c57a4b2541fd53ecc00528 (patch)
tree0fced168799f0e0cd7d63207f5e14595a1ead203
parentb82b50db0150ed3297150798c5e8eaa2872d2f99 (diff)
downloadnutyx-pakxe-37e875d8ef176f86e3c57a4b2541fd53ecc00528.tar.gz
nutyx-pakxe-37e875d8ef176f86e3c57a4b2541fd53ecc00528.tar.bz2
nutyx-pakxe-37e875d8ef176f86e3c57a4b2541fd53ecc00528.tar.xz
nutyx-pakxe-37e875d8ef176f86e3c57a4b2541fd53ecc00528.zip
lpsolve, port nettoyé
-rw-r--r--extra/lpsolve/Pkgfile2
-rw-r--r--extra/lpsolve/cflags.patch25
2 files changed, 1 insertions, 26 deletions
diff --git a/extra/lpsolve/Pkgfile b/extra/lpsolve/Pkgfile
index a262156ba..81087e308 100644
--- a/extra/lpsolve/Pkgfile
+++ b/extra/lpsolve/Pkgfile
@@ -11,7 +11,7 @@ release=1
_mainver=5.5
source=(http://downloads.sourceforge.net/project/lpsolve/lpsolve/5.5.0.15/lp_solve_5.5.0.15_source.tar.gz \
- cflags.patch)
+ http://nutyx.meticul.eu/files/patchs/$name/cflags.patch)
build() {
cd ${_origname}_${_mainver}
diff --git a/extra/lpsolve/cflags.patch b/extra/lpsolve/cflags.patch
deleted file mode 100644
index 8e8804cb8..000000000
--- a/extra/lpsolve/cflags.patch
+++ /dev/null
@@ -1,25 +0,0 @@
-diff -ru lp_solve_5.5.orig/lp_solve/ccc lp_solve_5.5/lp_solve/ccc
---- lp_solve_5.5.orig/lp_solve/ccc 2009-02-23 16:31:18.000000000 +0000
-+++ lp_solve_5.5/lp_solve/ccc 2009-02-23 16:31:29.000000000 +0000
-@@ -28,7 +28,7 @@
- fi
- rm /tmp/isnan.c /tmp/isnan >/dev/null 2>&1
-
--opts='-O3'
-+opts=$CFLAGS
-
- def=
- if [ "$PLATFORM" = "SCO_UNIX" ]
-diff -ru lp_solve_5.5.orig/lpsolve55/ccc lp_solve_5.5/lpsolve55/ccc
---- lp_solve_5.5.orig/lpsolve55/ccc 2009-02-23 16:31:18.000000000 +0000
-+++ lp_solve_5.5/lpsolve55/ccc 2009-02-23 16:31:29.000000000 +0000
-@@ -35,7 +35,7 @@
- so=y
- fi
-
--opts='-O3'
-+opts=$CFLAGS
-
- $c -s -c -I.. -I../shared -I../bfp -I../bfp/bfp_LUSOL -I../bfp/bfp_LUSOL/LUSOL -I../colamd $opts $def $NOISNAN -DYY_NEVER_INTERACTIVE -DPARSER_LP -DINVERSE_ACTIVE=INVERSE_LUSOL -DRoleIsExternalInvEngine $src
- ar rv bin/$PLATFORM/liblpsolve55.a `echo $src|sed s/[.]c/.o/g|sed 's/[^ ]*\///g'`
-