1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-05 01:55:52 +00:00
freebsd-ports/math/qrupdate/Makefile
Gerald Pfeifer 879e75a659 Related to revision 499061 bump ports with USES=fortran to have them
benefit from the improved situation where libgcc_s is only used when
absolutely necessary.

Suggested by:	tijl
2019-04-22 13:16:33 +00:00

35 lines
705 B
Makefile

# Created by: Robert Jenssen
# $FreeBSD$
PORTNAME= qrupdate
PORTVERSION= 1.1.2
PORTREVISION= 10
CATEGORIES= math
MASTER_SITES= SOURCEFORGE/qrupdate/qrupdate/1.2
MAINTAINER= robertjenssen@ozemail.com.au
COMMENT= Fortran library for fast updates of QR and Cholesky decomposition
LIB_DEPENDS= libblas.so:math/blas \
liblapack.so:math/lapack
USES= fortran gmake
.include <bsd.port.pre.mk>
.if ${ARCH} == "sparc64"
PICFLAG?= -fPIC
BROKEN= Does not compile on sparc64: assertions fail
.else
PICFLAG?= -fpic
.endif
USE_LDCONFIG= yes
pre-build:
@${REINPLACE_CMD} -e 's+%%FC%%+${FC}+g ; s+%%FFLAGS%%+${FFLAGS}+g ; \
s+%%PICFLAG%%+${PICFLAG}+g ; ' \
${WRKSRC}/Makeconf
.include <bsd.port.post.mk>