diff options
author | pav <pav@FreeBSD.org> | 2007-12-15 19:32:34 +0000 |
---|---|---|
committer | pav <pav@FreeBSD.org> | 2007-12-15 19:32:34 +0000 |
commit | a88e60fb75f4e69ccc0127fdb1d366177b882930 (patch) | |
tree | 2cff559067214743870fbfe0b43b4fd0b7de233e /math/clp/Makefile | |
parent | 3f6f6c31046174d5dd0f6dee904cad123e14636d (diff) | |
download | FreeBSD-ports-a88e60fb75f4e69ccc0127fdb1d366177b882930.zip FreeBSD-ports-a88e60fb75f4e69ccc0127fdb1d366177b882930.tar.gz |
- Update to 1.6.0
PR: ports/118532
Submitted by: Pedro F. Giffuni <giffunip@tutopia.com>
Approved by: Co Nijn <co9co9@gmail.com> (maintainer)
Diffstat (limited to 'math/clp/Makefile')
-rw-r--r-- | math/clp/Makefile | 17 |
1 files changed, 16 insertions, 1 deletions
diff --git a/math/clp/Makefile b/math/clp/Makefile index b86a9f4..b87b162 100644 --- a/math/clp/Makefile +++ b/math/clp/Makefile @@ -6,7 +6,7 @@ # PORTNAME= Clp -PORTVERSION= 1.4.0 +PORTVERSION= 1.6.0 CATEGORIES= math MASTER_SITES= http://www.coin-or.org/download/source/Clp/ EXTRACT_SUFX= .tgz @@ -14,7 +14,22 @@ EXTRACT_SUFX= .tgz MAINTAINER= co9co9@gmail.com COMMENT= Linear Programming Solver +LIB_DEPENDS= lapack.4:${PORTSDIR}/math/lapack +.ifdef WITH_GMPL +LIB_DEPENDS+= glpk.9:${PORTSDIR}/math/glpk +.endif + +USE_FORTRAN= yes + GNU_CONFIGURE= yes USE_LDCONFIG= yes +CONFIGURE_ENV+= ${MAKE_ENV} +CONFIGURE_ARGS= --with-blas="-L${LOCALBASE}/lib -lblas" \ + --with-lapack="-L${LOCALBASE}/lib -llapack" +.ifdef WITH_GMPL +CONFIGURE_ARGS+=--with-gmpl-incdir=${LOCALBASE}/include/gmpl \ + --with-gmpl-lib="-L${LOCALBASE}/lib -lglpk" +.endif + .include <bsd.port.mk> |