freebsd-ports/games/xminehunter/files/patch-aa
Martin Wilke 3e4ed01146 - Remove unneeded dependency from gtk12/gtk20 [1]
- Remove USE_XLIB/USE_X_PREFIX/USE_XPM in favor of USE_XORG
- Remove X11BASE support in favor of LOCALBASE or PREFIX
- Use USE_LDCONFIG instead of INSTALLS_SHLIB
- Remove unneeded USE_GCC 3.4+

Thanks to all Helpers:
	Dmitry Marakasov, Chess Griffin, beech@, dinoex, rafan, gahr,
	ehaupt, nox, itetcu, flz, pav

PR:		116263
Tested on:	pointyhat
Approved by:	portmgr (pav)
2008-04-19 17:56:05 +00:00

17 lines
524 B
Text

--- 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++