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

18 lines
491 B
Text

--- Makefile.orig Sun Apr 16 22:26:00 1995
+++ Makefile Fri Mar 31 22:59:19 2000
@@ -18,10 +18,11 @@
#
# Last Modified: 16/4/95
#
-CC= gcc
-CFLAGS= -O4 -Wall
-INCLUDES= -I/usr/X386/include/X11 -I/usr/include
-LIBS= -L/usr/X386/lib
+CC?= gcc
+CFLAGS?= -O4 -Wall
+DEFINES= -DPREFIX=\"${PREFIX}\"
+INCLUDES= -I${LOCALBASE}/include -I${LOCALBASE}/include/X11
+LIBS= -L${LOCALBASE}/lib
LDLIBS= -lXpm -lX11
DEPEND= makedepend
OBJS= wintype.o xtron.o main.o xpm2pixmap.o resource.o