aboutsummaryrefslogtreecommitdiffstats
path: root/math
diff options
context:
space:
mode:
authoramdmi3 <amdmi3@FreeBSD.org>2015-03-07 11:19:27 +0800
committeramdmi3 <amdmi3@FreeBSD.org>2015-03-07 11:19:27 +0800
commit8e0962f5e9f5cadd27cd70bfc63f49b02768525c (patch)
treeeeb113653c98cfe4ddff69a2d0c53ad36a039c54 /math
parentcf4deaad9a9ee60ad62def1a9b664be911ac16f8 (diff)
downloadfreebsd-ports-gnome-8e0962f5e9f5cadd27cd70bfc63f49b02768525c.tar.gz
freebsd-ports-gnome-8e0962f5e9f5cadd27cd70bfc63f49b02768525c.tar.zst
freebsd-ports-gnome-8e0962f5e9f5cadd27cd70bfc63f49b02768525c.zip
- Fix library installation
- Mark MAKE_JOBS_UNSAFE, fails spectacularly with -j8
Diffstat (limited to 'math')
-rw-r--r--math/superlu/Makefile6
1 files changed, 4 insertions, 2 deletions
diff --git a/math/superlu/Makefile b/math/superlu/Makefile
index bda18ad9684e..67c10f9a9ccc 100644
--- a/math/superlu/Makefile
+++ b/math/superlu/Makefile
@@ -3,7 +3,7 @@
PORTNAME= superlu
PORTVERSION= ${P_VERSION}
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= math
MASTER_SITES= http://crd.lbl.gov/~xiaoye/SuperLU/ \
http://crd.lbl.gov/~xiaoye/:doc
@@ -30,6 +30,8 @@ PLIST_SUB= P_VERSION=${P_VERSION} P_VER=${P_VER}
ARCH2FIX= SRC/Makefile TESTING/MATGEN/Makefile CBLAS/Makefile make.inc \
MAKE_INC/make.alpha MAKE_INC/make.inc
+MAKE_JOBS_UNSAFE= yes
+
.include <bsd.port.pre.mk>
.if ${PORT_OPTIONS:MDOCS}
@@ -72,7 +74,7 @@ pre-build:
do-install:
${INSTALL_DATA} ${WRKSRC}/lib/libsuperlu_${P_VERSION}.a \
${STAGEDIR}${PREFIX}/lib/libsuperlu.a
- ${INSTALL_DATA} ${WRKSRC}/libsuperlu_${P_VERSION}.so \
+ ${INSTALL_LIB} ${WRKSRC}/libsuperlu_${P_VERSION}.so \
${STAGEDIR}${PREFIX}/lib/libsuperlu.so.${P_VER}
${LN} -fs libsuperlu.so.${PORTREVISION} \
${STAGEDIR}${PREFIX}/lib/libsuperlu_${P_VERSION}.so