freebsd-ports/comms/locator/files/patch-Makefile
Diane Bruce 6e6530fb1d - Unbreak clang build
- Replace hard coded g++ with ${CXX} in Makefile
- main() was missing int declaration
2011-07-01 12:30:51 +00:00

17 lines
392 B
Text

--- Makefile.orig 2011-07-01 08:24:26.000000000 -0400
+++ Makefile 2011-07-01 08:24:53.000000000 -0400
@@ -2,11 +2,11 @@
all: $(PROGS)
conv_fn.o: conv_fn.cc
- g++ -c conv_fn.cc
+ ${CXX} -c conv_fn.cc
locator: locator.cc conv_fn.o
- g++ -c locator.cc
- g++ -o locator locator.o conv_fn.o
+ ${CXX} -c locator.cc
+ ${CXX} -o locator locator.o conv_fn.o
clean::
rm -f *~ *.o $(PROGS)