1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-10 07:04:03 +00:00
freebsd-ports/x11-wm/wm2/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

26 lines
561 B
Plaintext

--- Makefile.orig Fri Mar 21 12:12:30 1997
+++ Makefile Tue Jan 28 17:53:41 2003
@@ -1,9 +1,10 @@
-LIBS = -L/usr/X11/lib -lXext -lX11 -lXmu -lm
+LIBS = -L$(LOCALBASE)/lib -lXext -lX11 -lXmu -lm
+LIBS += -Wl,-rpath,$(PREFIX)/lib
-CC = gcc
-CCC = gcc
-CFLAGS = -O2
+CC ?= gcc
+CCC = $(CXX)
+CFLAGS += -I$(LOCALBASE)/include
OBJECTS = Border.o Buttons.o Client.o Events.o Main.o Manager.o Rotated.o
.c.o:
@@ -13,7 +16,6 @@
$(CCC) -c $(CFLAGS) $<
wm2: $(OBJECTS)
- mv -f wm2 wm2.old >& /dev/null || true
$(CCC) -o wm2 $(OBJECTS) $(LIBS)
depend: