summaryrefslogtreecommitdiff
path: root/source/y/bsd-games/bsd-games.phantasia_install_fix.diff
diff options
context:
space:
mode:
Diffstat (limited to 'source/y/bsd-games/bsd-games.phantasia_install_fix.diff')
-rw-r--r--source/y/bsd-games/bsd-games.phantasia_install_fix.diff17
1 files changed, 17 insertions, 0 deletions
diff --git a/source/y/bsd-games/bsd-games.phantasia_install_fix.diff b/source/y/bsd-games/bsd-games.phantasia_install_fix.diff
new file mode 100644
index 00000000..098e604f
--- /dev/null
+++ b/source/y/bsd-games/bsd-games.phantasia_install_fix.diff
@@ -0,0 +1,17 @@
+--- bsd-games-2.13/phantasia/Makefrag 2001-08-31 00:55:25.000000000 +0300
++++ bsd-games-2.13/phantasia/Makefrag 2006-08-14 03:19:03.771302000 +0300
+@@ -41,11 +41,11 @@
+ $(INSTALL_SCORE_GAME) phantasia/phantasia $(INSTALL_PREFIX)$(GAMESDIR)/phantasia
+ $(HIDE_GAME) phantasia
+ (set -e; for f in $(phantasia_VFILES1); do \
+- cp phantasia/$$f $(PHANTASIA_DIR)/$$f; \
++ cp phantasia/$$f $(INSTALL_PREFIX)$(PHANTASIA_DIR)/$$f; \
+ $(INSTALL_SCORE_FILE) $(PHANTASIA_DIR)/$$f; done)
+ (set -e; for f in $(phantasia_VFILES2); do \
+- if [ ! -e $(PHANTASIA_DIR)/$$f ]; then \
+- cp phantasia/$$f $(PHANTASIA_DIR)/$$f; fi; done; \
++ if [ ! -e $(INSTALL_PREFIX)$(PHANTASIA_DIR)/$$f ]; then \
++ cp phantasia/$$f $(INSTALL_PREFIX)$(PHANTASIA_DIR)/$$f; fi; done; \
+ $(INSTALL_SCORE_FILE) $(PHANTASIA_DIR)/scoreboard; \
+ $(INSTALL_SCORE_FILE) -p $(PHANTASIA_DIR)/characs)
+ $(INSTALL_MANUAL) phantasia/phantasia.6