summaryrefslogtreecommitdiffstats
path: root/math/atlas-devel
diff options
context:
space:
mode:
authormaho <maho@FreeBSD.org>2007-01-15 12:03:27 +0000
committermaho <maho@FreeBSD.org>2007-01-15 12:03:27 +0000
commitadc83f33fc1aaa549d30c7f5dd6241632a6c6ae4 (patch)
tree49f31b04ceeda7ff15f4978bb86612b100094c03 /math/atlas-devel
parent5d70d5ac37bea0dd7c04e0fc01d044936ae5ea91 (diff)
downloadFreeBSD-ports-adc83f33fc1aaa549d30c7f5dd6241632a6c6ae4.zip
FreeBSD-ports-adc83f33fc1aaa549d30c7f5dd6241632a6c6ae4.tar.gz
No longer depended on g2c.h in the base.
Now we should use f2c.
Diffstat (limited to 'math/atlas-devel')
-rw-r--r--math/atlas-devel/Makefile1
-rw-r--r--math/atlas-devel/files/blas.h4
-rw-r--r--math/atlas-devel/files/lapack.h4
3 files changed, 5 insertions, 4 deletions
diff --git a/math/atlas-devel/Makefile b/math/atlas-devel/Makefile
index eb219bd..ec64938 100644
--- a/math/atlas-devel/Makefile
+++ b/math/atlas-devel/Makefile
@@ -46,6 +46,7 @@ CCOMPILER= ${CC}
.endif
LIB_DEPENDS+= blas.2:${PORTSDIR}/math/blas
LIB_DEPENDS+= lapack.4:${PORTSDIR}/math/lapack
+LIB_DEPENDS+= f2c:${PORTSDIR}/lang/f2c
.if ${ARCH} == "sparc64"
PICFLAG?= -fPIC
diff --git a/math/atlas-devel/files/blas.h b/math/atlas-devel/files/blas.h
index 91a2309..774fbae 100644
--- a/math/atlas-devel/files/blas.h
+++ b/math/atlas-devel/files/blas.h
@@ -2,12 +2,12 @@
// based on BLAS/WRAP/fblaswr.h
// in clapack.tgz, version 3.0(September 20, 2000)
// available at http://www.netlib.org/clapack/
-// and modified by Nakata Maho <chat95@mbox.kyoto-inet.or.jp>
+// and modified by Nakata Maho <maho@FreeBSD.org>
// for C++, which requires proper prototype definitions.
extern "C"
{
-#include <g2c.h>
+#include <f2c.h>
real
sdot_(integer* N,
diff --git a/math/atlas-devel/files/lapack.h b/math/atlas-devel/files/lapack.h
index 0e677a9..fd77ee5 100644
--- a/math/atlas-devel/files/lapack.h
+++ b/math/atlas-devel/files/lapack.h
@@ -1,12 +1,12 @@
// lapack prototypes for C++
// based on clapack.h in clapack.tgz, version 3.0(September 20, 2000)
// available at http://www.netlib.org/clapack/
-// and modified by Nakata Maho <chat95@mbox.kyoto-inet.or.jp>
+// and modified by Nakata Maho <maho@FreeBSD.org>
// for C++, which requires proper prototype definitions.
extern "C"
{
-#include <g2c.h>
+#include <f2c.h>
/* Subroutine */ int cbdsqr_(char *uplo, integer *n, integer *ncvt, integer *
nru, integer *ncc, real *d__, real *e, complex *vt, integer *ldvt,
OpenPOWER on IntegriCloud