freebsd-ports/x11-wm/sapphire/files/patch-Makefile
Thomas Abthorpe af72916fe4 - update to 0.15.8
- set MAKE_ENV= CC=${CXX} (recommended by sat@)

Approved by:	clsung (mentor)
2007-09-12 01:14:32 +00:00

28 lines
706 B
Plaintext

--- 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 = ${X11BASE}
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