freebsd-ports/finance/wmstock/files/patch-ab
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
648 B
Text

--- Makefile Wed Apr 19 11:17:30 2000
+++ Makefile.new Sat May 20 01:34:48 2000
@@ -2,14 +2,15 @@
# <mfischer@umr.edu>
# based on wmWeather - see ../Credits for more information
-CC = gcc
+CC ?= gcc
DEBUG = -DMLF_DEBUG -DTIME_DEBUG
GCOV = -fprofile-arcs -ftest-coverage
#standard, should work for most Linux/Solaris (may need to be changed for HP)
-INCDIR = -I/usr/X11R6/include/X11 -I/usr/X11R6/include
-DESTDIR= /usr/X11R6
-LIBDIR = -L/usr/X11R6/lib
+X11BASE ?= /usr/X11R6
+INCDIR = -I${LOCALBASE}/include/X11 -I${LOCALBASE}/include
+DESTDIR= ${PREFIX}
+LIBDIR = -L${LOCALBASE}/lib
# for linux
LIBS = -lXpm -lX11 -lXext