04d6f52202
lang/gcc which have moved from GCC 4.9.4 to GCC 5.4 (at least under some circumstances such as versions of FreeBSD or platforms). This includes ports - with USE_GCC=yes or USE_GCC=any, - with USES=fortran, - using using Mk/bsd.octave.mk which in turn has USES=fortran, and - with USES=compiler specifying openmp, nestedfct, c++11-lib, c++14-lang, c++11-lang, c++0x, c11, or gcc-c++11-lib. PR: 216707
34 lines
704 B
Makefile
34 lines
704 B
Makefile
# Created by: Robert Jenssen
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= qrupdate
|
|
PORTVERSION= 1.1.2
|
|
PORTREVISION= 5
|
|
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>
|