openbsd-ports/net/mldonkey/snapshot/patches/patch-config_Makefile_in
2004-09-26 09:41:15 +00:00

36 lines
980 B
Plaintext

$OpenBSD: patch-config_Makefile_in,v 1.3 2004/09/26 09:41:15 espie Exp $
--- config/Makefile.in.orig Thu Jul 29 12:32:40 2004
+++ config/Makefile.in Sun Sep 19 13:20:00 2004
@@ -717,6 +717,8 @@ uninstall::
rm -f $(BINDIR)/mlnet
rm -f $(BINDIR)/mlgui
+ifeq ("$(MODOCAML_NATIVE)", "Yes")
+
install:: opt
mkdir -p $(prefix)/bin
if test -f mlnet; then \
@@ -739,6 +741,22 @@ install:: opt
rm -f $(prefix)/bin/mlim; cp -f mlim $(prefix)/bin/mlim; \
fi
+else
+
+install::
+ cp -f mlnet.byte $(prefix)/bin/mlnet
+ for link in mlslsk mldonkey mlgnut mldc mlbt; do \
+ ln -s mlnet $(prefix)/bin/$$link; \
+ done
+ cp -f mlgui.byte $(prefix)/bin/mlgui
+ cp -f mlgui.byte $(prefix)/bin/mldonkey_gui
+ cp -f mlnet.byte $(prefix)/bin/mlnet+gui
+ for link in mlslsk+gui mldonkey+gui mlgnut+gui mldc+gui mlbt+gui; do \
+ ln -s mlnet+gui $(prefix)/bin/$$link; \
+ done
+ cp -f mlim.byte $(prefix)/bin/mlim;
+
+endif
ifeq ("$(COMPILE_GUI)" , "yes")