freebsd-ports/games/blockade/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

22 lines
561 B
Text

--- Makefile.orig Mon May 24 22:19:40 1999
+++ Makefile Fri Nov 24 14:47:40 2006
@@ -1,7 +1,7 @@
# Add -I and -L options as necessary to make it find your X stuff....
#DESTDIR = /opt/blockade
-DESTDIR = /usr/local
+DESTDIR = $(PREFIX)
BINDIR = $(DESTDIR)/bin
MANDIR = $(DESTDIR)/man/man6
@@ -22,8 +22,8 @@
#LDFLAGS = -s -L/usr/lib/X11R4 -lX11
# Linux
-CFLAGS = -DSYSV -I/usr/include/X11 -Wall
-LDFLAGS = -L/usr/X11R6/lib -lX11
+CFLAGS += -I$(LOCALBASE)/include
+LDFLAGS = -L$(LOCALBASE)/lib -lX11
SOUND = blockade-snd.o
SOUNDH = blockade-snd.h