aboutsummaryrefslogtreecommitdiffstats
path: root/math
diff options
context:
space:
mode:
Diffstat (limited to 'math')
-rw-r--r--math/lapack/Makefile8
1 files changed, 5 insertions, 3 deletions
diff --git a/math/lapack/Makefile b/math/lapack/Makefile
index 858f65cf4e2c..2695800453cb 100644
--- a/math/lapack/Makefile
+++ b/math/lapack/Makefile
@@ -7,6 +7,7 @@
PORTNAME= lapack
PORTVERSION= 3.1.1
+PORTREVISION= 1
CATEGORIES= math
MASTER_SITES= ftp://ftp.netlib.org/lapack/
DISTFILES= lapack-${PORTVERSION}.tgz manpages-${PORTVERSION}.tgz
@@ -44,9 +45,6 @@ BLAS= -L${LOCALBASE}/lib -lblas
pre-fetch:
@${ECHO} "You can override FC and FFLAGS on the command line."
-.if !defined(ENABLE_TESTING) || ${ENABLE_TESTING} != "YES"
- @${ECHO} "Set ENABLE_TESTING to YES to enable testing and timing."
-.endif
.include "${FILESDIR}/manpages"
@@ -102,4 +100,8 @@ do-install:
${INSTALL_MAN} ${WRKSRC}/manpages/man/manl/[m-s]*.l ${PREFIX}/man/manl
${INSTALL_MAN} ${WRKSRC}/manpages/man/manl/[t-z]*.l ${PREFIX}/man/manl
+regression-test: build
+ @${ECHO_CMD} "Testing static lapack library"
+ cd ${WRKSRC}/TESTING ; ${MAKE} ${.MAKEFLAGS} ARCH=ar
+
.include <bsd.port.post.mk>