From bce9b81f9d6099820f3839d7809d6b08c1d2ae7b Mon Sep 17 00:00:00 2001 From: miwi Date: Sat, 19 Apr 2008 17:56:05 +0000 Subject: - 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) --- games/q2pro/files/patch-build__pre.mk | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'games/q2pro') diff --git a/games/q2pro/files/patch-build__pre.mk b/games/q2pro/files/patch-build__pre.mk index 3ea5554..087a65b 100644 --- a/games/q2pro/files/patch-build__pre.mk +++ b/games/q2pro/files/patch-build__pre.mk @@ -10,8 +10,8 @@ -LDFLAGS_LINUX=#blank +DATADIR?=$(Q2DIR) +LIBDIR?=$(PREFIX)/lib/q2pro -+CFLAGS_LINUX=-I$(LOCALBASE)/include -I$(X11BASE)/include -DDATADIR='"$(DATADIR)"' -DLIBDIR='"$(LIBDIR)"' -+LDFLAGS_LINUX=-L$(LOCALBASE)/lib -L$(X11BASE)/lib ++CFLAGS_LINUX=-I$(LOCALBASE)/include -DDATADIR='"$(DATADIR)"' -DLIBDIR='"$(LIBDIR)"' ++LDFLAGS_LINUX=-L$(LOCALBASE)/lib SRCFILES_LINUX=#blank ASMFILES_LINUX=#blank -- cgit v1.1