1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-26 00:55:14 +00:00
freebsd-ports/games/q2pro/files/patch-build__pre.mk
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

18 lines
520 B
Makefile

--- build/pre.mk.orig Sun Feb 4 16:13:21 2007
+++ build/pre.mk Sun Feb 4 16:27:54 2007
@@ -48,10 +48,10 @@
ASMFILES_WIN32=#blank
VPATH_WIN32=$(RCDIR)
-DATADIR?=/usr/share/games/quake2
-LIBDIR?=/usr/lib/games/quake2
-CFLAGS_LINUX=-DDATADIR='"$(DATADIR)"' -DLIBDIR='"$(LIBDIR)"'
-LDFLAGS_LINUX=#blank
+DATADIR?=$(Q2DIR)
+LIBDIR?=$(PREFIX)/lib/q2pro
+CFLAGS_LINUX=-I$(LOCALBASE)/include -DDATADIR='"$(DATADIR)"' -DLIBDIR='"$(LIBDIR)"'
+LDFLAGS_LINUX=-L$(LOCALBASE)/lib
SRCFILES_LINUX=#blank
ASMFILES_LINUX=#blank