summaryrefslogtreecommitdiff
path: root/games/q2pro/files/patch-build__pre.mk
blob: 087a65b53d49ea8786f49709c810d90947888171 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
--- build/pre.mk.orig	Sun Feb  4 16:13:21 2007
+++ build/pre.mk	Sun Feb  4 16:27:54 2007
@@ -48,10 +48,10 @@
 ASMFILES_WIN32=#blank
 VPATH_WIN32=$(RCDIR)
 
-DATADIR?=/usr/share/games/quake2
-LIBDIR?=/usr/lib/games/quake2
-CFLAGS_LINUX=-DDATADIR='"$(DATADIR)"' -DLIBDIR='"$(LIBDIR)"'
-LDFLAGS_LINUX=#blank
+DATADIR?=$(Q2DIR)
+LIBDIR?=$(PREFIX)/lib/q2pro
+CFLAGS_LINUX=-I$(LOCALBASE)/include -DDATADIR='"$(DATADIR)"' -DLIBDIR='"$(LIBDIR)"'
+LDFLAGS_LINUX=-L$(LOCALBASE)/lib
 SRCFILES_LINUX=#blank
 ASMFILES_LINUX=#blank