summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'games-action/xshipwars/files/xshipwars-2.5.5-build.patch')
-rw-r--r--games-action/xshipwars/files/xshipwars-2.5.5-build.patch68
1 files changed, 68 insertions, 0 deletions
diff --git a/games-action/xshipwars/files/xshipwars-2.5.5-build.patch b/games-action/xshipwars/files/xshipwars-2.5.5-build.patch
new file mode 100644
index 000000000000..8e59e35b0a9f
--- /dev/null
+++ b/games-action/xshipwars/files/xshipwars-2.5.5-build.patch
@@ -0,0 +1,68 @@
+--- client/Makefile.install.UNIX
++++ client/Makefile.install.UNIX
+@@ -11,9 +11,9 @@
+ #
+
+ INSTALL = install
+-INSTBINFLAGS = -m 0755 -s
++INSTBINFLAGS = -m 0755
+ INSTUIDFLAGS = -m 4755
+-INSTLIBFLAGS = -m 0755 -s
++INSTLIBFLAGS = -m 0755
+ INSTINCFLAGS = -m 0644
+ INSTMANFLAGS = -m 0644
+ INSTCFGFLAGS = -m 0644
+@@ -26,8 +26,10 @@
+ MKDIRFLAGS = -p
+
+
+-GAMES_DIR = $(PREFIX)/games
+-XSW_DIR = $(PREFIX)/share/games/xshipwars
++BINDIR = $(PREFIX)/games
++GAMES_DIR = $(DESTDIR)$(BINDIR)
++DATADIR = $(PREFIX)/share/games
++XSW_DIR = $(DESTDIR)$(DATADIR)/xshipwars
+ XSW_ETC_DIR = $(XSW_DIR)/etc
+
+ XSW_CFG_FILE = xsw.ini
+--- monitor/Makefile.install.UNIX
++++ monitor/Makefile.install.UNIX
+@@ -27,8 +27,10 @@
+ MKDIR = mkdir
+ MKDIRFLAGS = -p
+
+-GAMES_DIR = $(PREFIX)/games
+-XSW_DIR = $(PREFIX)/share/games/xshipwars
++BINDIR = $(PREFIX)/games
++GAMES_DIR = $(DESTDIR)$(BINDIR)
++DATADIR = $(PREFIX)/share/games
++XSW_DIR = $(DESTDIR)$(DATADIR)/xshipwars
+ MONITOR_IMAGES_DIR = $(XSW_DIR)/images/monitor
+
+ HR = "-------------------------------------------------------------------------"
+--- server/Makefile.install.UNIX
++++ server/Makefile.install.UNIX
+@@ -29,7 +29,7 @@
+ MKDIRFLAGS = -p
+
+
+-SWSERV_BASE_DIR = $(PREFIX)/swserv
++SWSERV_BASE_DIR = $(DESTDIR)$(PREFIX)/swserv
+
+ SWSERV_BIN_DIR = $(SWSERV_BASE_DIR)/bin
+ SWSERV_DB_DIR = $(SWSERV_BASE_DIR)/db
+--- unvedit/Makefile.install.UNIX
++++ unvedit/Makefile.install.UNIX
+@@ -26,8 +26,10 @@
+ MKDIR = mkdir
+ MKDIRFLAGS = -p
+
+-GAMES_BIN_DIR = $(PREFIX)/games
+-XSW_DATA_DIR = $(PREFIX)/share/games/xshipwars
++BINDIR = $(PREFIX)/games
++GAMES_BIN_DIR = $(DESTDIR)$(BINDIR)
++DATADIR = $(PREFIX)/share/games
++XSW_DATA_DIR = $(DESTDIR)$(DATADIR)/xshipwars
+ UNVEDIT_IMAGES_DIR = $(XSW_DATA_DIR)/images/unvedit
+
+ HR = "-------------------------------------------------------------------------"