diff options
author | Maho Nakata <maho@FreeBSD.org> | 2006-10-10 02:05:45 +0000 |
---|---|---|
committer | Maho Nakata <maho@FreeBSD.org> | 2006-10-10 02:05:45 +0000 |
commit | 14f03a7f1344794cc3366c9f5b982dcf154252d6 (patch) | |
tree | 91e60da57fb63e5d2b3cd106e7478bf1f258765d /math | |
parent | 6966b7432ae4cdff45decc84ad9eaff7c48eef9b (diff) | |
download | ports-14f03a7f1344794cc3366c9f5b982dcf154252d6.tar.gz ports-14f03a7f1344794cc3366c9f5b982dcf154252d6.zip |
Notes
Diffstat (limited to 'math')
-rw-r--r-- | math/lp_solve/Makefile | 19 | ||||
-rw-r--r-- | math/lp_solve/distinfo | 6 | ||||
-rw-r--r-- | math/lp_solve/files/patch-lpsolve55+ccc | 8 | ||||
-rw-r--r-- | math/lp_solve/pkg-descr | 9 |
4 files changed, 21 insertions, 21 deletions
diff --git a/math/lp_solve/Makefile b/math/lp_solve/Makefile index eb20fb1f53bc..c268fd5a7003 100644 --- a/math/lp_solve/Makefile +++ b/math/lp_solve/Makefile @@ -6,22 +6,27 @@ # PORTNAME= lp_solve -PORTVERSION= 5.5 -PORTREVISION= 1 +PORTVERSION= ${PORTMAJOR_VER}.0.9 CATEGORIES= math -MASTER_SITES= ${MASTER_SITE_LOCAL} # http://groups.yahoo.com/group/lp_solve/ -MASTER_SITE_SUBDIR= maho +MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} # http://groups.yahoo.com/group/lp_solve/ +MASTER_SITE_SUBDIR= lpsolve DISTNAME= ${PORTNAME}_${PORTVERSION}_source MAINTAINER= ports@FreeBSD.org COMMENT= Linear Programming Solver -USE_BISON= yes -WRKSRC= ${WRKDIR}/${PORTNAME}_${PORTVERSION} +PORTMAJOR_VER= 5.5 +WRKSRC= ${WRKDIR}/${PORTNAME}_${PORTMAJOR_VER} INSTALLS_SHLIB= yes +.if ${MACHINE_ARCH} == "sparc64" +PICFLAG?= -fPIC +.else +PICFLAG?= -fpic +.endif + pre-build: - @${REINPLACE_CMD} -e 's:%%CFLAGS%%:${CFLAGS}:g' -e 's:%%CC%%:${CC}:g' ${WRKSRC}/lp_solve/ccc ${WRKSRC}/demo/ccc ${WRKSRC}/lpsolve55/ccc + @${REINPLACE_CMD} -e 's:%%CFLAGS%%:${CFLAGS}:g' -e 's:%%PICFLAG%%:${PICFLAG}:g' -e 's:%%CC%%:${CC}:g' ${WRKSRC}/lp_solve/ccc ${WRKSRC}/demo/ccc ${WRKSRC}/lpsolve55/ccc do-build: cd ${WRKSRC}/lp_solve ; ${SH} -x ccc diff --git a/math/lp_solve/distinfo b/math/lp_solve/distinfo index ee83015d4422..da4c6495791b 100644 --- a/math/lp_solve/distinfo +++ b/math/lp_solve/distinfo @@ -1,3 +1,3 @@ -MD5 (lp_solve_5.5_source.tar.gz) = 49059c7590be526ae7e7cf4a255f53ef -SHA256 (lp_solve_5.5_source.tar.gz) = 489c0001985470b865020088bbab69108174d20cd02740d53d40331d10e0da71 -SIZE (lp_solve_5.5_source.tar.gz) = 738681 +MD5 (lp_solve_5.5.0.9_source.tar.gz) = 8c2823c8dc3d4cb80b7510b1d500635d +SHA256 (lp_solve_5.5.0.9_source.tar.gz) = b3f02245303e59271e42bcb783393004ca495c34aa900769df4f46c26b39aa64 +SIZE (lp_solve_5.5.0.9_source.tar.gz) = 751024 diff --git a/math/lp_solve/files/patch-lpsolve55+ccc b/math/lp_solve/files/patch-lpsolve55+ccc index b692a898c702..825bd6a48339 100644 --- a/math/lp_solve/files/patch-lpsolve55+ccc +++ b/math/lp_solve/files/patch-lpsolve55+ccc @@ -1,5 +1,5 @@ --- lpsolve55/ccc.orig Sun Jun 12 04:27:18 2005 -+++ lpsolve55/ccc Sat Sep 2 16:23:56 2006 ++++ lpsolve55/ccc Tue Oct 10 11:00:40 2006 @@ -1,16 +1,16 @@ src='../lp_MDO.c ../shared/commonlib.c ../shared/mmio.c ../shared/myblas.c ../ini.c ../fortify.c ../colamd/colamd.c ../lp_rlp.c ../lp_crash.c ../bfp/bfp_LUSOL/lp_LUSOL.c ../bfp/bfp_LUSOL/LUSOL/lusol.c ../lp_Hash.c ../lp_lib.c ../lp_wlp.c ../lp_matrix.c ../lp_mipbb.c ../lp_MPS.c ../lp_params.c ../lp_presolve.c ../lp_price.c ../lp_pricePSE.c ../lp_report.c ../lp_scale.c ../lp_simplex.c ../lp_SOS.c ../lp_utils.c ../yacc_read.c' -c=cc @@ -26,11 +26,13 @@ $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 ar rv liblpsolve55.a `echo $src|sed s/[.]c/.o/g|sed 's/[^ ]*\///g'` -@@ -19,7 +19,7 @@ +@@ -18,8 +18,8 @@ + if [ "$so" != "" ] then - $c -fpic -s -c -I.. -I../shared -I../bfp -I../bfp/bfp_LUSOL -I../bfp/bfp_LUSOL/LUSOL -I../colamd -I. $opts -DYY_NEVER_INTERACTIVE -DPARSER_LP -DINVERSE_ACTIVE=INVERSE_LUSOL -DRoleIsExternalInvEngine $src +- $c -fpic -s -c -I.. -I../shared -I../bfp -I../bfp/bfp_LUSOL -I../bfp/bfp_LUSOL/LUSOL -I../colamd -I. $opts -DYY_NEVER_INTERACTIVE -DPARSER_LP -DINVERSE_ACTIVE=INVERSE_LUSOL -DRoleIsExternalInvEngine $src - $c -shared -Wl,-Bsymbolic -Wl,-soname,liblpsolve55.so -o liblpsolve55.so `echo $src|sed s/[.]c/.o/g|sed 's/[^ ]*\///g'` -lc -lm -ldl ++ $c %%PICFLAG%% -s -c -I.. -I../shared -I../bfp -I../bfp/bfp_LUSOL -I../bfp/bfp_LUSOL/LUSOL -I../colamd -I. $opts -DYY_NEVER_INTERACTIVE -DPARSER_LP -DINVERSE_ACTIVE=INVERSE_LUSOL -DRoleIsExternalInvEngine $src + $c -shared -Wl,-Bsymbolic -Wl,-soname,liblpsolve55.so -o liblpsolve55.so `echo $src|sed s/[.]c/.o/g|sed 's/[^ ]*\///g'` -lc -lm fi diff --git a/math/lp_solve/pkg-descr b/math/lp_solve/pkg-descr index 54f9e8b27dcc..ed12d1e7e562 100644 --- a/math/lp_solve/pkg-descr +++ b/math/lp_solve/pkg-descr @@ -3,12 +3,5 @@ standard MPL format, LP format or be accessed directly from your code via API calls from a library. This lp_solve versions is released under the LGPL license. See LGPL.txt. -Bug reports, success stories and requests for changes are welcome at: - -Michel Berkelaar -michel@ics.ele.tue.nl -________ -NOTE: Current development of this tool is done on Yahoo's "lp_solve" -group (below). - WWW: http://groups.yahoo.com/group/lp_solve/ + http://sourceforge.net/projects/lpsolve/ |