openbsd-ports/games/xminehunter/patches/patch-aa

32 lines
909 B
Plaintext
Raw Normal View History

--- Makefile.orig Mon Jul 22 08:11:34 1996
2001-03-17 10:33:56 -05:00
+++ Makefile Sat Mar 17 16:34:09 2001
@@ -1,13 +1,12 @@
-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
2001-03-17 10:33:56 -05:00
+CC = ${CXX}
2001-03-17 10:33:56 -05:00
-CC = g++
-
-CFLAGS = -DMINE_SCORE_PATH=\"${INSTALL_SCORE_PATH}\"
+CFLAGS += -DMINE_SCORE_PATH=\"${INSTALL_SCORE_PATH}\"
# no need to change anything below this line
@@ -50,7 +49,7 @@ bitmap.o: ${HEADERS} bitmap.cc
2000-06-02 15:41:58 -04:00
install:
mkdir -p ${INSTALL_SCORE_PATH}
- chmod 333 ${INSTALL_SCORE_PATH}
+ chmod 666 ${INSTALL_SCORE_PATH}
cp xminehunter ${INSTALL_BIN_PATH}
clean: