aboutsummaryrefslogtreecommitdiff
path: root/math/qrupdate/Makefile
blob: 3b0de2dfad8c43055a6adbc38e562188cfc30fb9 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
# Created by: Robert Jenssen
# $FreeBSD$

PORTNAME=	qrupdate
PORTVERSION=	1.1.2
PORTREVISION=	3
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>