mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-21 04:06:46 +00:00
e59c88cece
(via Mk/bsd.default-versions.mk and lang/gcc) which has moved from GCC 5.4 to GCC 6.4 under most circumstances. This includes ports - with USE_GCC=yes or USE_GCC=any, - with USES=fortran, - using Mk/bsd.octave.mk which in turn features USES=fortran, and - with USES=compiler specifying openmp, nestedfct, c++11-lib, c++11-lang, c++14-lang, c++0x, c11, or gcc-c++11-lib. PR: 219275
38 lines
862 B
Makefile
38 lines
862 B
Makefile
# Created by: stephen@FreeBSD.org
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= librsb
|
|
PORTVERSION= 1.2.0r7
|
|
PORTREVISION= 1
|
|
CATEGORIES= math
|
|
MASTER_SITES= SF/librsb
|
|
DISTNAME= ${PORTNAME}-${PORTVERSION:S/r/-rc/}
|
|
|
|
MAINTAINER= stephen@FreeBSD.org
|
|
COMMENT= Sparse matrix library
|
|
|
|
LICENSE= GPLv3
|
|
LICENSE_FILE= ${WRKSRC}/COPYING
|
|
|
|
BUILD_DEPENDS= gsed:textproc/gsed \
|
|
bash:shells/bash
|
|
|
|
USES= fortran compiler:openmp gmake shebangfix libtool
|
|
INSTALL_TARGET= install-strip
|
|
GNU_CONFIGURE= yes
|
|
CFLAGS+= -fPIC
|
|
CONFIGURE_ARGS= --enable-fortran-module-install \
|
|
--enable-matrix-types="double, double complex"
|
|
SHEBANG_FILES= scripts/*.sh
|
|
USE_LDCONFIG= yes
|
|
|
|
MANUAL_PACKAGE_BUILD= Optimizes for the local machine
|
|
|
|
post-patch:
|
|
@${REINPLACE_CMD} -E s/sed/gsed/g ${WRKSRC}/scripts/*.sh
|
|
|
|
check regression-test test: build
|
|
cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${GMAKE} qtests
|
|
|
|
.include <bsd.port.mk>
|