freebsd-ports/sysutils/gkrellmwho/files/patch-Makefile
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

19 lines
497 B
Text

$FreeBSD$
--- Makefile.orig Thu Aug 2 05:39:29 2001
+++ Makefile Tue Aug 13 15:05:36 2002
@@ -1,9 +1,9 @@
# Modify INCLUDE to point to gkrellm.h (if it's not in /usr/local/include)
-INCLUDE = /usr/local/include
+INCLUDE = ${LOCALBASE}/include/gkrellm
-CC = gcc
-CFLAGS = -Wall -O2 -fPIC -I$(INCLUDE) \
- `gtk-config --cflags` `imlib-config --cflags-gdk`
+#CC = gcc
+CFLAGS+= -fPIC -I$(INCLUDE) \
+ `gtk12-config --cflags` `imlib-config --cflags-gdk`
LDFLAGS =
TARGET = gkrellmwho