From 3e4ed01146cfe2bdca465bd0e4d199341f62a0b6 Mon Sep 17 00:00:00 2001 From: Martin Wilke 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/xmastermind/files/patch-aa | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'games/xmastermind/files/patch-aa') diff --git a/games/xmastermind/files/patch-aa b/games/xmastermind/files/patch-aa index ee322a413bff..afb6f3547394 100644 --- a/games/xmastermind/files/patch-aa +++ b/games/xmastermind/files/patch-aa @@ -5,14 +5,14 @@ CC = gcc -CFLAGS = -O2 -Wall -Wpointer-arith -Wstrict-prototypes -pedantic -ansi -+.if exists(${X11BASE}/include/X11/forms.h) -+XFORMSINC=-I${X11BASE}/include/X11 ++.if exists(${LOCALBASE}/include/X11/forms.h) ++XFORMSINC=-I${LOCALBASE}/include/X11 +.endif -+CFLAGS+= -Wall -Wpointer-arith -Wstrict-prototypes -pedantic -ansi -I${X11BASE}/include ${XFORMSINC} ++CFLAGS+= -Wall -Wpointer-arith -Wstrict-prototypes -pedantic -ansi -I${LOCALBASE}/include ${XFORMSINC} CLIBS = -lm #GRAPHLIBS = -lforms -L/usr/X11R6/lib/ -lX11 -static -GRAPHLIBS = -lforms -L/usr/X11R6/lib/ -lX11 -+GRAPHLIBS = -lforms -L${X11BASE}/lib -lX11 -lXpm ++GRAPHLIBS = -lforms -L${LOCALBASE}/lib -lX11 -lXpm MF = Makefile ALLLIBS = $(GRAPHLIBS) $(CLIBS) -- cgit v1.2.3