aboutsummaryrefslogtreecommitdiffstats
path: root/x11/temperature.app/files/patch-Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'x11/temperature.app/files/patch-Makefile')
-rw-r--r--x11/temperature.app/files/patch-Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/x11/temperature.app/files/patch-Makefile b/x11/temperature.app/files/patch-Makefile
index 1a2df17c74f..344c692e2d3 100644
--- a/x11/temperature.app/files/patch-Makefile
+++ b/x11/temperature.app/files/patch-Makefile
@@ -9,9 +9,10 @@
+GNUSTEP_BINDIR = $(LOCALBASE)/GNUstep/Apps/Temperature.app
+X11_BINDIR = $(LOCALBASE)/bin
- CXX=c++
+-CXX=c++
-CXXFLAGS += -Wall -pedantic -fno-rtti -fno-exceptions -O2 -I/usr/X11R6/include
-LDFLAGS += -L/usr/X11R6/lib -lXpm -lXext -lX11
++CXX ?= c++
+CXXFLAGS += -Wall -pedantic -fno-rtti -fno-exceptions -I$(LOCALBASE)/include
+LDFLAGS += -L$(LOCALBASE)/lib -lXpm -lXext -lX11