svn commit: r411007 - in head/cad/tochnog: . files
Raphael Kubo da Costa
rakuco at FreeBSD.org
Sun Mar 13 18:13:55 UTC 2016
Author: rakuco
Date: Sun Mar 13 18:13:53 2016
New Revision: 411007
URL: https://svnweb.freebsd.org/changeset/ports/411007
Log:
Unbreak after the math/superlu update in r410620.
math/superlu no longer ships libsuperlu.a, so tochnog was failing make
check-sanity.
Switch the dependency to libsuperlu.so and adjust files/patch-makefile
accordingly.
Modified:
head/cad/tochnog/Makefile
head/cad/tochnog/files/patch-makefile
Modified: head/cad/tochnog/Makefile
==============================================================================
--- head/cad/tochnog/Makefile Sun Mar 13 17:52:30 2016 (r411006)
+++ head/cad/tochnog/Makefile Sun Mar 13 18:13:53 2016 (r411007)
@@ -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
Modified: head/cad/tochnog/files/patch-makefile
==============================================================================
--- head/cad/tochnog/files/patch-makefile Sun Mar 13 17:52:30 2016 (r411006)
+++ head/cad/tochnog/files/patch-makefile Sun Mar 13 18:13:53 2016 (r411007)
@@ -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 *******************
More information about the svn-ports-all
mailing list