freebsd-ports/x11-wm/ratmen/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

24 lines
511 B
Text

--- ./Makefile.orig 2007-10-25 10:51:20.000000000 -0300
+++ ./Makefile 2008-02-20 17:07:36.000000000 -0300
@@ -32,16 +32,16 @@
)
-PREFIX=/usr/local
-MANDIR=$(PREFIX)/man
+PREFIX?=/usr/local
+MANDIR=$(MANPREFIX)/man
OPTIMIZE ?= -Os
DEBUG ?=
WARN ?= -Wall -ansi -pedantic
-CC = gcc
-LIBS = -L/usr/X11R6/lib -lX11
-CFLAGS = $(OPTIMIZE) $(WARN) $(DEBUG)
+CC ?= gcc
+LIBS = -L$(LOCALBASE)/lib -lX11
+CFLAGS += $(OPTIMIZE) $(WARN) $(DEBUG) -I$(LOCALBASE)/include
all: doc $(PROG)