summaryrefslogtreecommitdiff
path: root/games/xevil/patches/patch-aa
diff options
context:
space:
mode:
authortron <tron@pkgsrc.org>1998-07-31 08:03:09 +0000
committertron <tron@pkgsrc.org>1998-07-31 08:03:09 +0000
commit9d9eaeaf1e8c09d16483e6e6264ad7d95c08beab (patch)
tree30d733fdb1cfc49770e2cbd3d461d68a59cd02b6 /games/xevil/patches/patch-aa
parent02f77f7ed03a6e2dd376a1b9ddb79c7267f45444 (diff)
downloadpkgsrc-9d9eaeaf1e8c09d16483e6e6264ad7d95c08beab.tar.gz
New "xevil" package created by Tim Rightnour:
violent game of killing, contains profanity.
Diffstat (limited to 'games/xevil/patches/patch-aa')
-rw-r--r--games/xevil/patches/patch-aa55
1 files changed, 55 insertions, 0 deletions
diff --git a/games/xevil/patches/patch-aa b/games/xevil/patches/patch-aa
new file mode 100644
index 00000000000..57c8513b4d9
--- /dev/null
+++ b/games/xevil/patches/patch-aa
@@ -0,0 +1,55 @@
+--- Makefile.orig Tue Oct 1 19:50:59 1996
++++ Makefile Fri Jul 31 09:49:41 1998
+@@ -8,8 +8,8 @@
+ #### Defines that are applicable to makes on all architectures
+ SHELL = /bin/sh
+ TARGETS = xevil #xshow
+-DEBUG_OPT = -g# #-DPRINT_ERRORS
+-LINK_OPT = #-O
++DEBUG_OPT = -O# #-DPRINT_ERRORS
++LINK_OPT = $(RPATH)#-O
+
+ #SRC_DIR and WORK_DIR are only used for `make workdir`
+ SRC_DIR = /mit/hardts/src/X/xevil1.4.9
+@@ -22,7 +22,7 @@
+ OBJS = physical.o actual.o game.o main.o intel.o locator.o world.o \
+ ui.o coord.o area.o utils.o
+ ARCHITECTURES = athena-sun4 athena-sun5 alpha decmips ds decstation \
+- freebsd hp700 iris4d \
++ freebsd hp700 iris4d netbsd \
+ jsc-sun4 i386-linux rsaix sun4 sun5 vision-sun4
+ STRIP = strip
+
+@@ -33,6 +33,8 @@
+
+ #### Attempt to guesss the host architecture using the HOSTYPE and hostype
+ # variables. Then call self with the architecture name.
++all: default
++
+ default:
+ @if [ $${HOSTTYPE-bob} != bob ] ; then \
+ archit=$$HOSTTYPE ; \
+@@ -50,7 +52,9 @@
+ echo "{$(ARCHITECTURES)}" ; \
+ fi ;
+
+-
++install: xevil
++ ${INSTALL_PROGRAM} xevil ${PREFIX}/bin
++ ${INSTALL_MAN} xevil.6 ${PREFIX}/man/man6
+
+ #### Specific architectures.
+ ## Feel free to modify one of these to accomodate your machine's configuration.
+@@ -100,7 +104,11 @@
+ INCL_DIRS=-I/usr/X11R6/include LIBS_DIRS=-L/usr/X11R6/lib \
+ LIBS="-lX11 -lm" $(TARGETS)
+
+-
++netbsd:
++ @$(MAKE) CC="c++" \
++CFLAGS="-DUSE_RANDOM -DPROTECTED_IS_PUBLIC -DMSEC_PER_CLOCK=8" \
++INCL_DIRS=-I$(PREFIX)/include LIBS_DIRS=-L$(PREFIX)/lib \
++LIBS="-lX11 -lm" $(TARGETS)
+
+ hp700:
+ @$(MAKE) CC="g++" LIBS="-lX11 -lm" INCL_DIRS="" CFLAGS="-DUSE_RANDOM -DRANDOM_NEEDS_PROTOTYPES -DMATH_H_IS_CC -DPROTECTED_IS_PUBLIC" \