openbsd-ports/games/xminehunter/patches/patch-aa
2000-06-02 19:41:58 +00:00

25 lines
733 B
Plaintext

--- Makefile.orig Mon Jul 22 08:11:34 1996
+++ Makefile Fri Jun 2 21:26:29 2000
@@ -1,8 +1,8 @@
-INSTALL_BIN_PATH = /usr/local/bin
-INSTALL_SCORE_PATH = /usr/local/lib/xminehunter
+INSTALL_BIN_PATH = ${LOCALBASE}/bin
+INSTALL_SCORE_PATH = ${LOCALBASE}/lib/X11/xminehunter
-INCLUDES = -I/usr/local/X11R5/include
-LIBS = -L/usr/local/X11R5/lib -lXm -lXt -lXpm -lXext -lX11
+INCLUDES = -I${LOCALBASE}/include -I${X11BASE}/include
+LIBS = -L${LOCALBASE}/lib -L${X11BASE}/lib ${MOTIFLIB} -lXt -lXpm -lXext -lX11
CC = g++
@@ -50,7 +50,7 @@ bitmap.o: ${HEADERS} bitmap.cc
install:
mkdir -p ${INSTALL_SCORE_PATH}
- chmod 333 ${INSTALL_SCORE_PATH}
+ chmod 666 ${INSTALL_SCORE_PATH}
cp xminehunter ${INSTALL_BIN_PATH}
clean: