1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-20 20:09:11 +00:00

Update cad/elmerfem to 20141015 snapshot.

This brings many small fixes.
While here drop the autoconf support since we are using the CMake branch.

PR:		ports/194410
Submitted by:	pfg@ (maintainer)
This commit is contained in:
Thierry Thomas 2014-10-19 13:34:34 +00:00
parent d9e7e2cb35
commit 1a24129c6f
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=371180
6 changed files with 5 additions and 45 deletions

View File

@ -2,9 +2,8 @@
# $FreeBSD$
PORTNAME= elmerfem
PORTVERSION= 7.0.20140925
PORTVERSION= 7.0.20141015
CATEGORIES= cad science
#DISTNAME= ${PORTNAME}-devel
MAINTAINER= pfg@FreeBSD.org
COMMENT= ELMER FEM package
@ -19,7 +18,7 @@ USE_GITHUB= yes
GH_ACCOUNT= ElmerCSC
GH_PROJECT= elmerfem
GH_TAGNAME= ${GH_COMMIT}
GH_COMMIT= bc00ab5
GH_COMMIT= 539967a
USES= cmake fortran gmake tcl
@ -42,17 +41,13 @@ LDFLAGS+= -L${LOCALBASE}/lib
FCPPFLAGS+= -ansi
post-install:
# To avoid conflict with SuiteSparse
.for mod in amd umfpack
${RM} ${STAGEDIR}/${PREFIX}/lib/lib${mod}.a
.endfor
cd ${STAGEDIR}${PREFIX}/bin \
&& ${LN} -sf ElmerSolver_mpi ${STAGEDIR}${PREFIX}/bin/ElmerSolver
${STRIP_CMD} ${STAGEDIR}/${PREFIX}/bin/ElmerGrid
.if defined(MAINTAINER_MODE)
regression-test: install
cd ${WRKSRC} && LD_LIBRARY_PATH=${PREFIX}/share/elmersolver/lib ${MAKE_CMD} test/fast
cd ${WRKSRC} && LD_LIBRARY_PATH=${PREFIX}/share/elmersolver/lib ${MAKE_CMD} 1dtest_Source
.endif
.include <bsd.port.post.mk>

View File

@ -1,2 +1,2 @@
SHA256 (elmerfem-7.0.20140925.tar.gz) = e1db18873060080809fa7835f09a6f7b5ef09b17b1d5b8d7fc5d6321760c9d02
SIZE (elmerfem-7.0.20140925.tar.gz) = 42990927
SHA256 (elmerfem-7.0.20141015.tar.gz) = c339f9c1c9602478d064fadd53338a34645557b96d3cae0cbf0315ba7f24b7a3
SIZE (elmerfem-7.0.20141015.tar.gz) = 42958413

View File

@ -1,10 +0,0 @@
--- fem/acx_elmer.m4.orig 2014-09-06 21:01:43.000000000 -0500
+++ fem/acx_elmer.m4 2014-09-06 21:02:07.000000000 -0500
@@ -851,7 +851,6 @@
dnl run it
dnl printf "running: $CXX $acx_cxx_verbose_flag test.cpp 2>&1 |grep -e ' -l'\n"
acx_cxx_verbose_out=`$CXX $acx_cxx_verbose_flag test.cpp 2>&1 |grep -e ' -l'`
-acx_cxx_verbose_out=${acx_cxx_verbose_out//\"/
acx_cxx_libs=""
dnl get only the -l -L -R flags

View File

@ -1,11 +0,0 @@
--- fem/configure.orig 2014-09-06 21:42:30.000000000 -0500
+++ fem/configure 2014-09-06 21:43:51.000000000 -0500
@@ -6325,7 +6325,7 @@
printf "int main(int argc, char **argv) { return(1); }" > test.cpp
acx_cxx_verbose_out=`$CXX $acx_cxx_verbose_flag test.cpp 2>&1 |grep -e ' -l'`
-acx_cxx_verbose_out=${acx_cxx_verbose_out//\"/
+#acx_cxx_verbose_out=${acx_cxx_verbose_out//\"/
acx_cxx_libs=""
for acx_cxx_ldflag in $acx_cxx_verbose_out; do

View File

@ -1,11 +0,0 @@
--- fem/src/Makefile.in.orig 2014-09-09 15:04:27.000000000 -0500
+++ fem/src/Makefile.in 2014-09-09 15:28:20.000000000 -0500
@@ -1119,7 +1119,7 @@
@USE_WINDOWS_COMPILER_TRUE@ -L. -lelmersolver viewaxis/libviewaxis.a view3d/libview3d.a $(EXTRA_LIBS) $(BLAS_LIBS)
@USE_WINDOWS_COMPILER_FALSE@ $(FC) $(SH_LINKING_TO_FLAGS) $(RPATH_ELMER) $(B64FLAGS) $(LDFLAGS) \
@USE_WINDOWS_COMPILER_FALSE@ -o ViewFactors$(EXE_EXT) ViewFactors$(OBJ_EXT) mpi_stubs$(OBJ_EXT) \
-@USE_WINDOWS_COMPILER_FALSE@ -L. -lelmersolver viewaxis/libviewaxis.a view3d/libview3d.a $(EXTRA_LIBS) $(BLAS_LIBS) $(STDCXX_LIBS)
+@USE_WINDOWS_COMPILER_FALSE@ -L. -lelmersolver viewaxis/libviewaxis.a view3d/libview3d.a $(EXTRA_LIBS) $(BLAS_LIBS)
GebhardtFactors$(EXE_EXT): libelmersolver$(SHL_EXT) GebhardtFactors$(OBJ_EXT) mpi_stubs$(OBJ_EXT)
$(FC) $(SH_LINKING_TO_FLAGS) $(RPATH_ELMER) $(B64FLAGS) $(LDFLAGS) \

View File

@ -12,6 +12,3 @@ described by partial differential equations which Elmer solves by the
Finite Element Method (FEM).
WWW: http://www.csc.fi/elmer/elmersolve/
Note: This package installs in it's own ELMER_HOME path, so you usually
have to add /usr/local/elmer/bin/ to your shell path.