diff options
author | garbled <garbled@pkgsrc.org> | 1998-11-04 21:20:50 +0000 |
---|---|---|
committer | garbled <garbled@pkgsrc.org> | 1998-11-04 21:20:50 +0000 |
commit | 869403e3f21e0cc8d1ffecb8f438431ef011c9a6 (patch) | |
tree | 515ed099bf238e012f6943d550e0639daaadfb06 /games/xworm/patches/patch-aa | |
parent | 58f30495c90096a34bb2f3ff5ad72e9b7b12b68f (diff) | |
download | pkgsrc-869403e3f21e0cc8d1ffecb8f438431ef011c9a6.tar.gz |
Import of xworm. Heavily hacked from freebsd's version. Now works on
>8bit displays.
Classic game with apples and hungry worm.
Diffstat (limited to 'games/xworm/patches/patch-aa')
-rw-r--r-- | games/xworm/patches/patch-aa | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/games/xworm/patches/patch-aa b/games/xworm/patches/patch-aa new file mode 100644 index 00000000000..1b045f76875 --- /dev/null +++ b/games/xworm/patches/patch-aa @@ -0,0 +1,38 @@ +$NetBSD: patch-aa,v 1.1.1.1 1998/11/04 21:20:50 garbled Exp $ +--- Makefile.orig Wed May 7 09:28:12 1997 ++++ Makefile Wed Nov 4 13:23:53 1998 +@@ -6,8 +6,9 @@ + HPFLAGS = -O -D_HPUX_SOURCE + SUNFLAGS = -O + LINUXFLAGS = -O ++FREEBSDFLAGS= -O -DPREFIX=\"${PREFIX}/share/xworm\" + +-INCDIR = -I/usr/include/X11R5 -I/usr/include -I/usr/X11R6/include ++INCDIR = -I/usr/include/X11R5 -I/usr/include -I${PREFIX}/include + + HPLINK = -L/usr/local/lib/X11R5 -lXt -lX11 -lm + SUNLINK = -L/usr/local/lib/X11R5 -lXt -lX11 -lm -lsocket -lnsl -lICE -lSM +@@ -18,9 +19,10 @@ + @echo " " + @echo "type:" + @echo " " +- @echo " make hp [HP/UX and similar systems]" +- @echo " make sun [Sun-Os/SUN systems]" +- @echo " make linux [linux systems]" ++ @echo " make hp [HP/UX and similar systems]" ++ @echo " make sun [Sun-Os/SUN systems]" ++ @echo " make linux [linux systems]" ++ @echo " make freebsd [FreeBSD systems]" + @echo " " + @echo "xworm.font, xworm.grid and xworm.raw has to be in the same directory as xworm" + @echo "please check the Makefile if you have problems compiling the program" +@@ -33,6 +35,9 @@ + + linux: xworm.c + $(CC) $(LINUXFLAGS) $(INCDIR) xworm.c -o xworm $(LINUXLINK) ++ ++freebsd: xworm.c ++ $(CC) $(FREEBSDFLAGS) $(INCDIR) xworm.c -o xworm $(LINUXLINK) + + clean: + rm -f core xworm |