mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 01:39:16 -04:00
Add missing dependency to atlas.
Submitted by: kris
This commit is contained in:
parent
5a72cec32a
commit
3fe1acd709
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=169876
2 changed files with 20 additions and 6 deletions
|
@ -16,11 +16,18 @@ COMMENT= UFspace is a set of packages for sparse matrices calculation
|
|||
|
||||
BUILD_DEPENDS= ${LOCALBASE}/lib/libmetis.a:${PORTSDIR}/math/metis
|
||||
|
||||
USE_GMAKE= yes
|
||||
ALL_TARGET=
|
||||
|
||||
.if defined(WITH_BLAS)
|
||||
LIB_DEPENDS+= blas.1:${PORTSDIR}/math/blas
|
||||
BLAS= -L${LOCALBASE}/lib -lblas
|
||||
LAPACK= -L${LOCALBASE}/lib -llapack
|
||||
.else
|
||||
LIB_DEPENDS+= atlas.1:${PORTSDIR}/math/atlas
|
||||
BLAS= -L${LOCALBASE}/lib -lf77blas -latlas -lg2c
|
||||
LAPACK= -L${LOCALBASE}/lib -lalapack -lcblas
|
||||
.endif
|
||||
|
||||
USE_GMAKE= yes
|
||||
ALL_TARGET=
|
||||
|
||||
post-patch:
|
||||
@${REINPLACE_CMD} -e 's,%%CC%%,${CC},g' \
|
||||
|
|
|
@ -16,11 +16,18 @@ COMMENT= UFspace is a set of packages for sparse matrices calculation
|
|||
|
||||
BUILD_DEPENDS= ${LOCALBASE}/lib/libmetis.a:${PORTSDIR}/math/metis
|
||||
|
||||
USE_GMAKE= yes
|
||||
ALL_TARGET=
|
||||
|
||||
.if defined(WITH_BLAS)
|
||||
LIB_DEPENDS+= blas.1:${PORTSDIR}/math/blas
|
||||
BLAS= -L${LOCALBASE}/lib -lblas
|
||||
LAPACK= -L${LOCALBASE}/lib -llapack
|
||||
.else
|
||||
LIB_DEPENDS+= atlas.1:${PORTSDIR}/math/atlas
|
||||
BLAS= -L${LOCALBASE}/lib -lf77blas -latlas -lg2c
|
||||
LAPACK= -L${LOCALBASE}/lib -lalapack -lcblas
|
||||
.endif
|
||||
|
||||
USE_GMAKE= yes
|
||||
ALL_TARGET=
|
||||
|
||||
post-patch:
|
||||
@${REINPLACE_CMD} -e 's,%%CC%%,${CC},g' \
|
||||
|
|
Loading…
Add table
Reference in a new issue