summaryrefslogtreecommitdiff
path: root/sci-biology/profphd/files/profphd-1.0.40-symlink.patch
blob: 7733d55af4a601b1d184561fb3933adf463397f3 (plain)
1
2
3
4
5
6
7
8
9
10
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 \