summaryrefslogtreecommitdiff
path: root/math/libmesh/files/patch-Makefile.am
diff options
context:
space:
mode:
Diffstat (limited to 'math/libmesh/files/patch-Makefile.am')
-rw-r--r--math/libmesh/files/patch-Makefile.am14
1 files changed, 14 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.