diff options
author | db <db@FreeBSD.org> | 2011-07-01 20:15:36 +0800 |
---|---|---|
committer | db <db@FreeBSD.org> | 2011-07-01 20:15:36 +0800 |
commit | 5d040d8a98d3a6fcea96b7b98bbc98ad6d8d9695 (patch) | |
tree | 43d3d495abe25b6968f6f832664667ff13e5a015 /cad | |
parent | 4c1c2572bd52a41651dbc9398d03f81c7525257e (diff) | |
download | freebsd-ports-gnome-5d040d8a98d3a6fcea96b7b98bbc98ad6d8d9695.tar.gz freebsd-ports-gnome-5d040d8a98d3a6fcea96b7b98bbc98ad6d8d9695.tar.zst freebsd-ports-gnome-5d040d8a98d3a6fcea96b7b98bbc98ad6d8d9695.zip |
- Fix build under clang
- Replace hard coded g++ with ${CXX} in Makefile
Diffstat (limited to 'cad')
-rw-r--r-- | cad/basicdsp/files/patch-Makefile | 10 |
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 + |