freebsd-ports/math/librsb/Makefile
Gerald Pfeifer 04d6f52202 Bump PORTREVISIONs for ports depending on the canonical version of GCC and
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
2017-04-01 15:23:30 +00:00

43 lines
1 KiB
Makefile

# Created by: stephen@FreeBSD.org
# $FreeBSD$
PORTNAME= librsb
PORTVERSION= 1.2.0r4
PORTREVISION= 3
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" \
--with-memhinfo="${RSB_USER_SET_MEM_HIERARCHY_INFO}"
SHEBANG_FILES= scripts/*.sh
MANUAL_PACKAGE_BUILD= Optimizes for the local machine
pre-configure:
@if [ -z "${RSB_USER_SET_MEM_HIERARCHY_INFO}" ]; then \
${CAT} ${FILESDIR}/memhinfo.txt; \
exit 1; \
fi
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>