aboutsummaryrefslogtreecommitdiff
path: root/x11-wm/sapphire/files/patch-Makefile
blob: 15cea151ed9aa575a979a0c5dfd18baf5e622694 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
--- Makefile.orig	2001-12-31 18:14:43.000000000 -0500
+++ Makefile	2007-09-10 13:42:31.000000000 -0400
@@ -3,11 +3,11 @@
 # frankhale@yahoo.com
 # 27 Oct 2001
 
-CC       = g++
-CFLAGS   = -g -O2 -Wall
+#CC       = g++
+CFLAGS   +=  -Wall
 
-prefix   = /usr
-XROOT    = $(prefix)/X11R6
+prefix   = ${PREFIX}
+XROOT    = ${LOCALBASE}
 DESTDIR  =
 INCLUDES = -I$(XROOT)/include
 LDPATH   = -L$(XROOT)/lib
@@ -15,7 +15,7 @@
 
 # If you change this, remember to change it in windowmanager.cc (line 34),
 # and in data/menu/default (lines 43-47, the themes section).
-CONFIGURATION_PATH=/usr/share/sapphire
+CONFIGURATION_PATH=${PREFIX}/share/sapphire
 
 # DEBUG = Outputs debug information
 DEFINES  = #-DDEBUG