1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-14 23:46:10 +00:00
freebsd-ports/games/xminehunter/files/patch-aa
Justin M. Seger fcf5e39048 Unbreak.
Submitted by:	steve
1998-10-14 03:58:36 +00:00

20 lines
554 B
Plaintext

--- Makefile.orig Mon Jul 22 01:11:34 1996
+++ Makefile Tue Oct 13 20:41:49 1998
@@ -1,9 +1,11 @@
-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 = ${X11BASE}/bin
+INSTALL_SCORE_PATH = ${X11BASE}/lib/X11/xminehunter
+INCLUDES = -I${X11BASE}/include
+LIBS = -L${X11BASE}/lib ${MOTIFLIB} -lXt -lXpm -lXext -lX11
+.if ${PORTOBJFORMAT} == "elf"
+LIBS+= -Wl,-rpath,${X11BASE}/lib
+.endif
CC = g++