diff options
Diffstat (limited to 'games/KnightCap')
-rw-r--r-- | games/KnightCap/files/patch-aa | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/games/KnightCap/files/patch-aa b/games/KnightCap/files/patch-aa index 0cf23bf..b1b49b7 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 |