aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormaho <maho@FreeBSD.org>2007-01-09 20:33:23 +0800
committermaho <maho@FreeBSD.org>2007-01-09 20:33:23 +0800
commit191f450eca04ecdb6b393ca56cc506d21f167e79 (patch)
tree864d05b3fd223579ef8ae41a6e5e6c1f37670849
parent5beadc4075dd82aaa045a1b9ec0304f21d969610 (diff)
downloadfreebsd-ports-gnome-191f450eca04ecdb6b393ca56cc506d21f167e79.tar.gz
freebsd-ports-gnome-191f450eca04ecdb6b393ca56cc506d21f167e79.tar.zst
freebsd-ports-gnome-191f450eca04ecdb6b393ca56cc506d21f167e79.zip
* Migrate to gfortran
* shared lib major 3->4 * bump portrevision Approved by: jmz
-rw-r--r--math/lapack/Makefile10
1 files changed, 6 insertions, 4 deletions
diff --git a/math/lapack/Makefile b/math/lapack/Makefile
index b2cd9882a6af..ebbc0a496efb 100644
--- a/math/lapack/Makefile
+++ b/math/lapack/Makefile
@@ -7,7 +7,7 @@
PORTNAME= lapack
PORTVERSION= 3.0
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= math
MASTER_SITES= ftp://ftp.netlib.org/lapack/
DISTNAME= LAPACK
@@ -16,7 +16,9 @@ DISTFILES= lapack.tgz manpages.tgz
MAINTAINER= jmz@FreeBSD.org
COMMENT= A library of Fortran 77 subroutines for linear algebra
-LIB_DEPENDS= blas.1:${PORTSDIR}/math/blas
+LIB_DEPENDS= blas.2:${PORTSDIR}/math/blas
+WANT_FORTRAN= yes
+USE_GCC= 4.2+
CONFLICTS= elmer-mathlibs-1*
@@ -236,9 +238,9 @@ do-install:
${INSTALL_DATA} ${WRKSRC}/SRC/liblapack_p.a ${PREFIX}/lib
.endif
.if ${PORTOBJFORMAT} == "elf"
- ${LN} -sf liblapack.so.3 ${PREFIX}/lib/liblapack.so
+ ${LN} -sf liblapack.so.4 ${PREFIX}/lib/liblapack.so
.else
- ${LN} -sf liblapack.so.3.0 ${PREFIX}/lib/liblapack.so
+ ${LN} -sf liblapack.so.4.0 ${PREFIX}/lib/liblapack.so
.endif
${INSTALL_MAN} ${WRKDIR}/blas/man/manl/*.l ${PREFIX}/man/manl
${INSTALL_MAN} ${WRKDIR}/man/manl/[a-c]*.l ${PREFIX}/man/manl