diff options
Diffstat (limited to 'sci-chemistry/apbs/files/apbs-1.0.0-install-fix.patch')
-rw-r--r-- | sci-chemistry/apbs/files/apbs-1.0.0-install-fix.patch | 27 |
1 files changed, 18 insertions, 9 deletions
diff --git a/sci-chemistry/apbs/files/apbs-1.0.0-install-fix.patch b/sci-chemistry/apbs/files/apbs-1.0.0-install-fix.patch index d9c5a808f0fe..6efd4e16a1f5 100644 --- a/sci-chemistry/apbs/files/apbs-1.0.0-install-fix.patch +++ b/sci-chemistry/apbs/files/apbs-1.0.0-install-fix.patch @@ -1,7 +1,16 @@ diff -Naur apbs-1.0.0-source/Makefile.am apbs-1.0.0-source.new/Makefile.am --- apbs-1.0.0-source/Makefile.am 2008-04-17 16:44:51.000000000 -0400 -+++ apbs-1.0.0-source.new/Makefile.am 2008-04-28 18:51:14.000000000 -0400 -@@ -28,7 +28,10 @@ ++++ apbs-1.0.0-source.new/Makefile.am 2008-10-11 13:02:42.000000000 -0400 +@@ -16,6 +16,8 @@ + + SUBDIRS = contrib src bin @apbs_do_tools@ + ++example_dir = $(datarootdir)/@PACKAGE@ ++ + distclean-local: clean-local + + clean-local: clean-ac +@@ -28,7 +30,10 @@ -rm -f ./bin/apbs install-data-local: @@ -9,10 +18,10 @@ diff -Naur apbs-1.0.0-source/Makefile.am apbs-1.0.0-source.new/Makefile.am - -cp -rf examples ${prefix}/share - -cp -rf doc ${prefix}/share - -cp -rf tools ${prefix}/share -+ mkdir -p $(DESTDIR)${prefix}/share/GENTOO_PKG_NAME/examples -+ mkdir -p $(DESTDIR)${prefix}/share/GENTOO_PKG_NAME/tools -+ -rm -f doc/LICENSE.txt -+ -rm -f tools/manip/*.pyc -+ -cp -rf doc $(DESTDIR)${prefix}/share -+ -cp -rf examples $(DESTDIR)${prefix}/share/GENTOO_PKG_NAME/ -+ -cp -rf tools $(DESTDIR)${prefix}/share/GENTOO_PKG_NAME/ ++ $(mkinstalldirs) $(DESTDIR)$(docdir) ++ $(mkinstalldirs) $(DESTDIR)$(example_dir)/examples ++ $(mkinstalldirs) $(DESTDIR)$(example_dir)/tools ++ rm -f doc/LICENSE.txt doc/README ++ -cp -rf doc $(DESTDIR)$(docdir)/html ++ -cp -rf examples/* $(DESTDIR)$(example_dir)/examples ++ -cp -rf tools/* $(DESTDIR)$(example_dir)/tools |