diff options
Diffstat (limited to 'games/xroads')
-rw-r--r-- | games/xroads/files/patch-aa | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/games/xroads/files/patch-aa b/games/xroads/files/patch-aa index 7f0e9be..0d0c353 100644 --- a/games/xroads/files/patch-aa +++ b/games/xroads/files/patch-aa @@ -7,7 +7,7 @@ -DATAPATH = /usr/games/xroads/ -BINPATH = /usr/X11R6/bin/ +PREFIX ?= /usr/X11R6 -+X11BASE ?= /usr/X11R6 ++LOCALBASE ?= /usr/X11R6 +DATAPATH = ${PREFIX}/share/xroads +BINPATH = ${PREFIX}/bin # I imagine you would use this BINPATH for Solaris: @@ -18,7 +18,7 @@ #CFLAGS = -fomit-frame-pointer -O2 -Wall -DXRMPATH=\"$(DATAPATH)\" -CFLAGS = -O6 -mpentium -g -Wall -DXRMPATH=\"$(DATAPATH)\" -+CFLAGS += -DXRMPATH=\"$(DATAPATH)\" -I${X11BASE}/include ++CFLAGS += -DXRMPATH=\"$(DATAPATH)\" -I${LOCALBASE}/include ########################################################################### # Links necessary for X11 @@ -27,7 +27,7 @@ ### Linux machines use this line: -LINK = -L/usr/X11R6/lib -I/usr/X11R6/include -lX11 -lm -+LINK = -L${X11BASE}/lib -lX11 -lm ++LINK = -L${LOCALBASE}/lib -lX11 -lm ### This line should work on Sun machines: #LINK = -L/usr/openwin/lib -I/usr/openwin/include -lX11 -lm |