summaryrefslogtreecommitdiff
path: root/sci-biology/profphd/files
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2020-11-25 22:39:15 +0000
committerV3n3RiX <venerix@redcorelinux.org>2020-11-25 22:39:15 +0000
commitd934827bf44b7cfcf6711964418148fa60877668 (patch)
tree0625f358789b5e015e49db139cc1dbc9be00428f /sci-biology/profphd/files
parent2e34d110f164bf74d55fced27fe0000201b3eec5 (diff)
gentoo resync : 25.11.2020
Diffstat (limited to 'sci-biology/profphd/files')
-rw-r--r--sci-biology/profphd/files/profphd-1.0.40-symlink.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/sci-biology/profphd/files/profphd-1.0.40-symlink.patch b/sci-biology/profphd/files/profphd-1.0.40-symlink.patch
new file mode 100644
index 000000000000..7733d55af4a6
--- /dev/null
+++ b/sci-biology/profphd/files/profphd-1.0.40-symlink.patch
@@ -0,0 +1,11 @@
+--- a/src/prof/Makefile
++++ b/src/prof/Makefile
+@@ -40,7 +40,7 @@
+ ./. $(DESTDIR)$(prefix)/share/profphd/prof/.
+ find $(DESTDIR)$(prefix)/share/profphd/prof/embl/phd.pl $(DESTDIR)$(prefix)/share/profphd/prof/scr/CONFprof.pl $(DESTDIR)$(prefix)/share/profphd/prof/prof $(DESTDIR)$(prefix)/share/profphd/prof/scr/lib/prof.pm \
+ -type f -exec sed -i -e 's|__PREFIX__|$(prefix)|g;s|__VERSION__|$(VERSION)|;' {} \;
+- rm -rf $(DESTDIR)$(prefix)/bin/prof && mkdir -p $(DESTDIR)$(prefix)/bin && ln -s ../share/profphd/prof/prof $(DESTDIR)$(prefix)/bin/prof
++ rm -rf $(DESTDIR)$(prefix)/bin/prof && mkdir -p $(DESTDIR)$(prefix)/bin && ln -s ../share/profphd/prof/prof $(DESTDIR)$(prefix)/bin/profphd
+
+ install-neuralnet:
+ mkdir -p $(DESTDIR)$(prefix)/share/profphd/prof/embl/para && rsync -aC \