summaryrefslogtreecommitdiff
path: root/games/xevil/files/patch-makefile
diff options
context:
space:
mode:
Diffstat (limited to 'games/xevil/files/patch-makefile')
-rw-r--r--games/xevil/files/patch-makefile30
1 files changed, 30 insertions, 0 deletions
diff --git a/games/xevil/files/patch-makefile b/games/xevil/files/patch-makefile
new file mode 100644
index 000000000000..ee41a1647319
--- /dev/null
+++ b/games/xevil/files/patch-makefile
@@ -0,0 +1,30 @@
+--- makefile.orig 2012-05-27 06:39:04.000000000 +0900
++++ makefile 2012-05-27 06:42:04.000000000 +0900
+@@ -42,9 +42,9 @@
+ $(OBJ_DIR)/ui_cmn.o $(OBJ_DIR)/l_agreement_dlg.o $(OBJ_DIR)/viewport.o
+
+
+-xevil: $(OBJ_DIR)/xevil $(OBJ_DIR)/xevil$(VERSION).$(PCKG_NAME).tar.Z
++#xevil: $(OBJ_DIR)/xevil $(OBJ_DIR)/xevil$(VERSION).$(PCKG_NAME).tar.Z
+ #xevil: $(OBJ_DIR)/xevil$(VERSION).$(PCKG_NAME).tar.Z
+-#xevil: $(OBJ_DIR)/xevil
++xevil: $(OBJ_DIR)/xevil
+
+
+ # Build the xevil executable.
+@@ -59,15 +59,9 @@
+ cd $(DEPTH)/cmn; $(MAKE)
+ cd $(DEPTH)/x11; $(MAKE)
+ $(CC) $(LINK_FLAGS) $(LINK_OPT) $(LIBS_DIRS) -o $(OBJ_DIR)/xevil $(ALL_OBJS) $(LIBS)
+- $(STRIP) $(OBJ_DIR)/xevil
+
+ # Could also include serverping in the distribution
+ $(OBJ_DIR)/xevil$(VERSION).$(PCKG_NAME).tar.Z::
+- cp readme.txt $(OBJ_DIR)
+- cp gpl.txt $(OBJ_DIR)
+- cp -r instructions $(OBJ_DIR)
+- (cd $(OBJ_DIR); tar cf xevil$(VERSION).$(PCKG_NAME).tar xevil readme.txt gpl.txt instructions)
+- (cd $(OBJ_DIR); $(COMPRESS) -f xevil$(VERSION).$(PCKG_NAME).tar)
+
+ ## Make a distribution file.
+ #dist: