aboutsummaryrefslogtreecommitdiff
path: root/cad/tochnog
diff options
context:
space:
mode:
authorRaphael Kubo da Costa <rakuco@FreeBSD.org>2016-03-13 18:13:53 +0000
committerRaphael Kubo da Costa <rakuco@FreeBSD.org>2016-03-13 18:13:53 +0000
commitf5457ea57226eeb75239bd8a4b8c914301d3b7bd (patch)
tree57c27af2c4e7dbd1290c2661c804b644a9472140 /cad/tochnog
parent83b5902bbe5000a19aed077112f79f30c3b5f0eb (diff)
downloadports-f5457ea57226eeb75239bd8a4b8c914301d3b7bd.tar.gz
ports-f5457ea57226eeb75239bd8a4b8c914301d3b7bd.zip
Notes
Diffstat (limited to 'cad/tochnog')
-rw-r--r--cad/tochnog/Makefile6
-rw-r--r--cad/tochnog/files/patch-makefile2
2 files changed, 4 insertions, 4 deletions
diff --git a/cad/tochnog/Makefile b/cad/tochnog/Makefile
index b6da439c6947..23990bf4be5d 100644
--- a/cad/tochnog/Makefile
+++ b/cad/tochnog/Makefile
@@ -3,7 +3,7 @@
PORTNAME= tochnog
PORTVERSION= 20140100
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= cad
MASTER_SITES= SF/${PORTNAME}/Tochnog%20Latest%20January%202014
DISTFILES= Sources${EXTRACT_SUFX} gid${EXTRACT_SUFX} \
@@ -50,11 +50,11 @@ BLAS_LIBS= -llapack -lblas
.if ${PORT_OPTIONS:MTHREADS}
ALL_TARGET= freebsd_parallel
-BUILD_DEPENDS+= ${LOCALBASE}/lib/libsuperlu_mt.a:${PORTSDIR}/math/superlu_mt
+LIB_DEPENDS+= libsuperlu_mt.so:${PORTSDIR}/math/superlu_mt
SUPERLU= superlu_mt
.else
ALL_TARGET= freebsd_old
-BUILD_DEPENDS+= ${LOCALBASE}/lib/libsuperlu.a:${PORTSDIR}/math/superlu
+LIB_DEPENDS+= libsuperlu.so:${PORTSDIR}/math/superlu
SUPERLU= superlu
.endif
diff --git a/cad/tochnog/files/patch-makefile b/cad/tochnog/files/patch-makefile
index 421f11264e38..1fc76d36e2c7 100644
--- a/cad/tochnog/files/patch-makefile
+++ b/cad/tochnog/files/patch-makefile
@@ -31,7 +31,7 @@
# 3. For SuperLU_MT be sure to compile a multi threaded version
# of Tochnog (sparc_parallel, alpha_parallel, linux, etc.
+SUPERLU=%%LOCALBASE%%
-+SUPERLU_LIB=$(SUPERLU)/lib/lib%%SUPERLU%%.a %%BLAS_LIBS%%
++SUPERLU_LIB=$(SUPERLU)/lib/lib%%SUPERLU%%.so %%BLAS_LIBS%%
+SUPERLU_INCLUDE=-I$(SUPERLU)/include/%%SUPERLU%%
# *********** PetSc library *******************