freebsd-ports/x11/temperature.app/files/patch-Makefile
Pawel Pekala 0a7dddb500 - Fix build with clang
- Switch to PLIST_FILES
- Support staging

PR:		ports/184880
Submitted by:	KATO Tsuguru <tkato432@yahoo.com>
2013-12-20 19:18:18 +00:00

20 lines
614 B
Text

--- Makefile.orig Mon Jun 25 12:03:07 2001
+++ Makefile Sun Jul 1 20:47:36 2001
@@ -3,12 +3,12 @@
#
DESTDIR =
-GNUSTEP_BINDIR = /usr/local/GNUstep/Apps/Temperature.app
-X11_BINDIR = /usr/X11R6/bin
+GNUSTEP_BINDIR = $(LOCALBASE)/GNUstep/Apps/Temperature.app
+X11_BINDIR = $(LOCALBASE)/bin
-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
OBJECTS = Main.o Temperature.o Xpm.o