From df18fe138a1e376b40aaf3c9a884889be350cb7d Mon Sep 17 00:00:00 2001 From: Martin Wilke Date: Fri, 24 Nov 2006 22:24:16 +0000 Subject: - Respect X11BASE PR: ports/105827 Submitted by: trasz --- x11-wm/swm/files/patch-Makefile-xpm | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 x11-wm/swm/files/patch-Makefile-xpm diff --git a/x11-wm/swm/files/patch-Makefile-xpm b/x11-wm/swm/files/patch-Makefile-xpm new file mode 100644 index 000000000000..68d8f4f46fe5 --- /dev/null +++ b/x11-wm/swm/files/patch-Makefile-xpm @@ -0,0 +1,30 @@ +--- Makefile-xpm.orig Fri Nov 24 17:15:55 2006 ++++ Makefile-xpm Fri Nov 24 17:16:17 2006 +@@ -2,7 +2,7 @@ + # CFLAGS = -O0 -Wall -g3 -ggdb -p + # LDFLAGS = -O0 -Wall -g3 -ggdb -p + #for production use +-CFLAGS = -O3 ++#CFLAGS = -O3 + LDFLAGS = -s -pipe + + # if you want swm to be installed somewhere else: +@@ -10,9 +10,9 @@ + + # There should be nothing to edit below this line + # ----------------------------------------------------------------------------- +-CC = gcc ++#CC = gcc + +-XROOT = /usr/X11R6 ++XROOT = $(X11BASE) + INCLPATH = -I$(XROOT)/include + LDPATH = -L$(XROOT)/lib + +@@ -92,4 +92,4 @@ + mrproper: + rm -f *~ swm core *.o $(OBJS) + cp -f Makefile.org Makefile +- +\ No newline at end of file ++ -- cgit v1.2.3