summaryrefslogtreecommitdiffstats
path: root/games/KnightCap
diff options
context:
space:
mode:
authorsteve <steve@FreeBSD.org>1998-09-28 02:04:40 +0000
committersteve <steve@FreeBSD.org>1998-09-28 02:04:40 +0000
commit25fad71fb24d09f1ac870e27cd325d5719a4e7b4 (patch)
treeef7975843fd9607a64b4f8885f121e7e91c26d0d /games/KnightCap
parent5b346b769562e828ce1abe6d9136531776357180 (diff)
downloadFreeBSD-ports-25fad71fb24d09f1ac870e27cd325d5719a4e7b4.zip
FreeBSD-ports-25fad71fb24d09f1ac870e27cd325d5719a4e7b4.tar.gz
Fix build for ELF.
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 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
OpenPOWER on IntegriCloud