aboutsummaryrefslogtreecommitdiff
path: root/cad/basicdsp
diff options
context:
space:
mode:
authorDiane Bruce <db@FreeBSD.org>2011-07-01 12:15:36 +0000
committerDiane Bruce <db@FreeBSD.org>2011-07-01 12:15:36 +0000
commite6167f250e4aa5e6681850232669c1ceaee927b5 (patch)
treeaa5a3e659fe779898b1102523c51a3bafef4449f /cad/basicdsp
parente3e9cab7901218dbeae36ffcf63b1a54203d4e46 (diff)
downloadports-e6167f250e4aa5e6681850232669c1ceaee927b5.tar.gz
ports-e6167f250e4aa5e6681850232669c1ceaee927b5.zip
- Fix build under clang
- Replace hard coded g++ with ${CXX} in Makefile
Notes
Notes: svn path=/head/; revision=276779
Diffstat (limited to 'cad/basicdsp')
-rw-r--r--cad/basicdsp/files/patch-Makefile10
1 files changed, 6 insertions, 4 deletions
diff --git a/cad/basicdsp/files/patch-Makefile b/cad/basicdsp/files/patch-Makefile
index 122a155aa27c..675595505064 100644
--- a/cad/basicdsp/files/patch-Makefile
+++ b/cad/basicdsp/files/patch-Makefile
@@ -1,5 +1,5 @@
---- Makefile.orig 2008-11-06 19:34:34.000000000 +0000
-+++ Makefile 2008-11-07 03:24:20.000000000 +0000
+--- 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
@@ -8,7 +8,7 @@
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,8 +7,8 @@
+@@ -7,9 +7,9 @@
gui.o: help.h gui.cpp
@@ -18,4 +18,6 @@
+# ./mkhelp > help.h
basicdsp: help.h $(OBJS)
- g++ $(LDFLAGS) $(OBJS) -o basicdsp
+- g++ $(LDFLAGS) $(OBJS) -o basicdsp
++ ${CXX} $(LDFLAGS) $(OBJS) -o basicdsp
+