summaryrefslogtreecommitdiff
path: root/games/xminehunter/files/patch-aa
blob: 13e1d26baaac84be210ab454a3d4f2d5458a288d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
--- Makefile.orig	Mon Jul 22 02:11:34 1996
+++ Makefile	Thu Jan 25 22:22:22 2007
@@ -1,9 +1,9 @@
-INSTALL_BIN_PATH = /usr/local/bin
-INSTALL_SCORE_PATH = /usr/local/lib/xminehunter
-
-INCLUDES = -I/usr/local/X11R5/include
-LIBS = -L/usr/local/X11R5/lib -lXm -lXt -lXpm -lXext -lX11
+INSTALL_BIN_PATH = ${LOCALBASE}/bin
+INSTALL_SCORE_PATH = ${LOCALBASE}/lib/X11/xminehunter
 
+INCLUDES = -I${LOCALBASE}/include
+LIBS = -L${LOCALBASE}/lib ${MOTIFLIB} -lXt -lXpm -lXext -lX11
+LIBS+= -Wl,-rpath,${LOCALBASE}/lib
 
 CC = g++