diff options
Diffstat (limited to 'math/libmesh/files')
-rw-r--r-- | math/libmesh/files/patch-Makefile.am | 14 | ||||
-rw-r--r-- | math/libmesh/files/patch-contrib_netcdf_4.4.1.1_configure.ac | 11 | ||||
-rw-r--r-- | math/libmesh/files/patch-m4_libtool.m4 | 20 | ||||
-rw-r--r-- | math/libmesh/files/pkg-message-examples.in | 13 |
4 files changed, 58 insertions, 0 deletions
diff --git a/math/libmesh/files/patch-Makefile.am b/math/libmesh/files/patch-Makefile.am new file mode 100644 index 000000000000..7973069df9f2 --- /dev/null +++ b/math/libmesh/files/patch-Makefile.am @@ -0,0 +1,14 @@ +--- Makefile.am.orig 2017-07-25 16:33:31 UTC ++++ Makefile.am +@@ -102,9 +102,8 @@ install-data-hook: + fi + cd $(DESTDIR)$(prefix) && rm -f Make.common && $(LN_S) -f etc/libmesh/Make.common Make.common + cat $(DESTDIR)$(libmesh_configdir)/libmesh-config | $(SED) "s/has_been_installed=no/has_been_installed=yes/g" > $(DESTDIR)$(libmesh_configdir)/libmesh-config.installed +- mv $(DESTDIR)$(libmesh_configdir)/libmesh-config.installed $(DESTDIR)$(libmesh_configdir)/libmesh-config && chmod +x $(DESTDIR)$(libmesh_configdir)/libmesh-config +- cat $(DESTDIR)$(prefix)/contrib/bin/libtool | $(SED) "s/-l //g" > $(DESTDIR)$(prefix)/contrib/bin/libtool.fixed +- mv $(DESTDIR)$(prefix)/contrib/bin/libtool.fixed $(DESTDIR)$(prefix)/contrib/bin/libtool && chmod +x $(DESTDIR)$(prefix)/contrib/bin/libtool ++ install -c $(DESTDIR)$(libmesh_configdir)/libmesh-config.installed $(DESTDIR)$(libmesh_configdir)/libmesh-config ++ rm $(DESTDIR)$(libmesh_configdir)/libmesh-config.installed + + + # this rule invokes emacs on each source file to remove trailing whitespace. diff --git a/math/libmesh/files/patch-contrib_netcdf_4.4.1.1_configure.ac b/math/libmesh/files/patch-contrib_netcdf_4.4.1.1_configure.ac new file mode 100644 index 000000000000..1babc46b7a02 --- /dev/null +++ b/math/libmesh/files/patch-contrib_netcdf_4.4.1.1_configure.ac @@ -0,0 +1,11 @@ +--- contrib/netcdf/4.4.1.1/configure.ac.orig 2017-07-25 16:33:31 UTC ++++ contrib/netcdf/4.4.1.1/configure.ac +@@ -926,7 +926,7 @@ if test "x$enable_netcdf_4" = xyes; then + if test "x$nc_dlfcn_h_missing" = xyes; then + AC_MSG_ERROR([Cannot find dlfcn.h, yet --enable-dynamic-loading was used.]) + fi +- AC_CHECK_LIB([dl],[dlopen], [], [AC_MSG_ERROR([Can't find or link against libdf. See config.log for errors.])]) ++ #AC_CHECK_LIB([dl],[dlopen], [], [AC_MSG_ERROR([Can't find or link against libdf. See config.log for errors.])]) + AC_DEFINE([USE_LIBDL],[1], [if true, enable dynamic loading support]) + fi + diff --git a/math/libmesh/files/patch-m4_libtool.m4 b/math/libmesh/files/patch-m4_libtool.m4 new file mode 100644 index 000000000000..b1ad04ae93cc --- /dev/null +++ b/math/libmesh/files/patch-m4_libtool.m4 @@ -0,0 +1,20 @@ +--- m4/libtool.m4.orig 2017-07-25 16:33:31 UTC ++++ m4/libtool.m4 +@@ -1948,7 +1948,7 @@ else + darwin*) + # if libdl is installed we need to link against it + AC_CHECK_LIB([dl], [dlopen], +- [lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl],[ ++ [lt_cv_dlopen=dlopen lt_cv_dlopen_libs=],[ + lt_cv_dlopen=dyld + lt_cv_dlopen_libs= + lt_cv_dlopen_self=yes +@@ -1971,7 +1971,7 @@ else + [AC_CHECK_FUNC([dlopen], + [lt_cv_dlopen=dlopen], + [AC_CHECK_LIB([dl], [dlopen], +- [lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl], ++ [lt_cv_dlopen=dlopen lt_cv_dlopen_libs=], + [AC_CHECK_LIB([svld], [dlopen], + [lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-lsvld], + [AC_CHECK_LIB([dld], [dld_link], diff --git a/math/libmesh/files/pkg-message-examples.in b/math/libmesh/files/pkg-message-examples.in new file mode 100644 index 000000000000..d7643235eff4 --- /dev/null +++ b/math/libmesh/files/pkg-message-examples.in @@ -0,0 +1,13 @@ +====================================================================== +You installed libMesh, the library for numerical mesh simulations. + +You can run examples using for instance such command: + +$ cd %%EXAMPLESDIR%%/adaptivity/ex3 && gmake example-opt && ./run.sh + +Before running examples, please allow your user the write access: + +# chown -R {your-user}:users %%EXAMPLESDIR%% + +Examples require bash, gmake, libtool installed. +====================================================================== |