summaryrefslogtreecommitdiffstats
path: root/games/scare/files/xglk.patch
blob: 519ee481a5ff326733e40e4c287bac1df1b3b029 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
--- source/Makefile	Sun Jan 21 23:22:38 2007
+++ source/Makefile.xglk	Sun Jan 21 23:23:11 2007
@@ -73,7 +73,7 @@
 # If your make can't handle sinclude or -include, and you're not building
 # for Glk, comment out the include line.
 GLKPATH	= $(GLKDIR)/$(GLK)
-sinclude $(GLKPATH)/Make.$(GLK)
+.include "$(LOCALBASE)/share/xglk/Make.$(GLK)"
 GLKLIBS	= -L$(GLKPATH) $(GLKLIB) $(LINKLIBS)
 
 # Always use the Bourne shell.
@@ -134,7 +134,7 @@
 
 os_glk.o: os_glk.c $(HEADERS)
 	$(CC) $(GLKARCH) $(CFLAGS) -Wno-write-strings			\
-		-I $(GLKDIR)/$(GLK) -c -o $@ $<
+		-DLINUX_GRAPHICS -I${LOCALBASE}/include/xglk -c -o $@ $<
 
 # Option to build an IFP plugin version of SCARE.
 scare_plugin.c: scare.hdr
OpenPOWER on IntegriCloud