summaryrefslogtreecommitdiff
path: root/games/KnightCap
diff options
context:
space:
mode:
authorSteve Price <steve@FreeBSD.org>1998-09-28 02:04:40 +0000
committerSteve Price <steve@FreeBSD.org>1998-09-28 02:04:40 +0000
commit1511a5bd89a618481933a7edbc470f1599d329d1 (patch)
treeba256ad2028dd830485a76e99393d5b64d7d4c7b /games/KnightCap
parentEscape the '@' character so perl in -current doesn't choke. (diff)
Fix build for ELF.
Notes
Notes: svn path=/head/; revision=13484
Diffstat (limited to 'games/KnightCap')
-rw-r--r--games/KnightCap/files/patch-aa9
1 files changed, 6 insertions, 3 deletions
diff --git a/games/KnightCap/files/patch-aa b/games/KnightCap/files/patch-aa
index 0cf23bfaaa9f..b1b49b7ed3aa 100644
--- a/games/KnightCap/files/patch-aa
+++ b/games/KnightCap/files/patch-aa
@@ -1,5 +1,5 @@
---- Makefile Wed Mar 11 21:51:57 1998
-+++ /home/andy/tmp/wrk/Makefile Sun May 10 09:54:13 1998
+--- Makefile.orig Wed Mar 11 15:51:57 1998
++++ Makefile Sun Sep 27 11:09:04 1998
@@ -2,11 +2,11 @@
# what C compiler? It better be Ansi-C. Use gcc if you have it.
@@ -14,7 +14,7 @@
# If you don't have gcc then perhaps try this instead. You only need
# the null definition for inline if your C compiler doesn't know about
-@@ -21,13 +21,10 @@
+@@ -21,13 +21,13 @@
# display (or you don't have OpenGL and Glut libraries)
# If you do have these libs then make sure the first three
# lines point at the right places
@@ -28,6 +28,9 @@
+GLUT_LIBS = -L$(X11BASE)/lib -lglut
+MESA_LIBS = -L$(X11BASE)/lib -lMesaGLU -lMesaGL -lm
+XLIBS = -L$(X11BASE)/lib -lXmu -lXt -lXext -lX11 -lXi
++.if $(PORTOBJFORMAT) == "elf"
++XLIBS+= -Wl,-rpath,$(X11BASE)/lib
++.endif
+DISPLAYFLAGS = -I$(X11BASE)/include -DRENDERED_DISPLAY=1
# comment out the following line if you don't want KnightCap's