aboutsummaryrefslogtreecommitdiff
path: root/x11-wm/wm2/files/patch-aa
diff options
context:
space:
mode:
Diffstat (limited to 'x11-wm/wm2/files/patch-aa')
-rw-r--r--x11-wm/wm2/files/patch-aa4
1 files changed, 2 insertions, 2 deletions
diff --git a/x11-wm/wm2/files/patch-aa b/x11-wm/wm2/files/patch-aa
index a9e723ad4b0c..819ef9e6114c 100644
--- a/x11-wm/wm2/files/patch-aa
+++ b/x11-wm/wm2/files/patch-aa
@@ -3,7 +3,7 @@
@@ -1,9 +1,10 @@
-LIBS = -L/usr/X11/lib -lXext -lX11 -lXmu -lm
-+LIBS = -L$(PREFIX)/lib -lXext -lX11 -lXmu -lm
++LIBS = -L$(LOCALBASE)/lib -lXext -lX11 -lXmu -lm
+LIBS += -Wl,-rpath,$(PREFIX)/lib
-CC = gcc
@@ -11,7 +11,7 @@
-CFLAGS = -O2
+CC ?= gcc
+CCC = $(CXX)
-+CFLAGS += -I$(PREFIX)/include
++CFLAGS += -I$(LOCALBASE)/include
OBJECTS = Border.o Buttons.o Client.o Events.o Main.o Manager.o Rotated.o
.c.o: