diff options
Diffstat (limited to 'games/scare')
-rw-r--r-- | games/scare/Makefile | 4 | ||||
-rw-r--r-- | games/scare/files/xglk.patch | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/games/scare/Makefile b/games/scare/Makefile index 330e265..3c2adfa 100644 --- a/games/scare/Makefile +++ b/games/scare/Makefile @@ -27,8 +27,8 @@ BINFILES= scare .if defined(WITH_XGLK) PKGNAMESUFFIX= -glk -BUILD_DEPENDS+= ${X11BASE}/lib/libxglk.a:${PORTSDIR}/games/xglk -RUN_DEPENDS+= ${X11BASE}/lib/libxglk.a:${PORTSDIR}/games/xglk +BUILD_DEPENDS+= ${LOCALBASE}/lib/libxglk.a:${PORTSDIR}/games/xglk +RUN_DEPENDS+= ${LOCALBASE}/lib/libxglk.a:${PORTSDIR}/games/xglk ALL_TARGET= all glkscare diff --git a/games/scare/files/xglk.patch b/games/scare/files/xglk.patch index ef555fe..519ee48 100644 --- a/games/scare/files/xglk.patch +++ b/games/scare/files/xglk.patch @@ -5,7 +5,7 @@ # for Glk, comment out the include line. GLKPATH = $(GLKDIR)/$(GLK) -sinclude $(GLKPATH)/Make.$(GLK) -+.include "$(X11BASE)/share/xglk/Make.$(GLK)" ++.include "$(LOCALBASE)/share/xglk/Make.$(GLK)" GLKLIBS = -L$(GLKPATH) $(GLKLIB) $(LINKLIBS) # Always use the Bourne shell. @@ -14,7 +14,7 @@ os_glk.o: os_glk.c $(HEADERS) $(CC) $(GLKARCH) $(CFLAGS) -Wno-write-strings \ - -I $(GLKDIR)/$(GLK) -c -o $@ $< -+ -DLINUX_GRAPHICS -I${X11BASE}/include/xglk -c -o $@ $< ++ -DLINUX_GRAPHICS -I${LOCALBASE}/include/xglk -c -o $@ $< # Option to build an IFP plugin version of SCARE. scare_plugin.c: scare.hdr |