1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-27 00:57:50 +00:00
freebsd-ports/math/qrupdate/Makefile
Tim Bishop b94177b342 Stage support.
PR:		ports/189690
Submitted by:	Robert Jenssen <robertjenssen@ozemail.com.au> (maintainer)
2014-05-31 11:27:03 +00:00

36 lines
763 B
Makefile

# Created by: Robert Jenssen
# $FreeBSD$
PORTNAME= qrupdate
PORTVERSION= 1.1.2
PORTREVISION= 2
CATEGORIES= math
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= qrupdate/qrupdate/1.2
MAINTAINER= robertjenssen@ozemail.com.au
COMMENT= Fortran library for fast updates of QR and Cholesky decomposition
LIB_DEPENDS= libblas.so:${PORTSDIR}/math/blas \
liblapack.so:${PORTSDIR}/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>