mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-17 08:01:36 +00:00
No longer depended on g2c.h in the base.
Now we should use f2c.
This commit is contained in:
parent
1d34b36c1c
commit
a6f3b1c3a3
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=182411
@ -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
|
||||
|
@ -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,
|
||||
|
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user