freebsd-ports/cad/basicdsp/files/patch-Makefile
Diane Bruce e6167f250e - Fix build under clang
- Replace hard coded g++ with ${CXX} in Makefile
2011-07-01 12:15:36 +00:00

23 lines
745 B
Text

--- Makefile.orig 2011-07-01 07:56:12.000000000 -0400
+++ Makefile 2011-07-01 08:11:05.000000000 -0400
@@ -1,5 +1,5 @@
-CXXFLAGS = -O9 -g -Wall `wx-config --cxxflags` -g -Wall -pg
-LDFLAGS = `wx-config --libs` -lm -g -pg
+CXXFLAGS += -g -Wall `%%WX_CONFIG%% --cxxflags` -g -Wall
+LDFLAGS = `%%WX_CONFIG%% --libs` -lm -g
OBJS = aboutdialog.o book.o core.o displayslider.o graphframe.o gui.o linux.o vu_meter.o spectrumplot.o fft4g.o wav_streamer.o
@@ -7,9 +7,9 @@
gui.o: help.h gui.cpp
-help.h: help_variables.html help_functions.html
- ./mkhelp > help.h
+#help.h: help_variables.html help_functions.html
+# ./mkhelp > help.h
basicdsp: help.h $(OBJS)
- g++ $(LDFLAGS) $(OBJS) -o basicdsp
+ ${CXX} $(LDFLAGS) $(OBJS) -o basicdsp