From 1b5bed2179d357e3913189452389b805a15cc50f Mon Sep 17 00:00:00 2001 From: kris Date: Sat, 5 Feb 2000 03:59:13 +0000 Subject: Respect CXX and set a default CXXFLAGS --- devel/astyle/files/patch-ad | 17 ++++++++++++++--- 1 file changed, 14 insertions(+), 3 deletions(-) (limited to 'devel/astyle') diff --git a/devel/astyle/files/patch-ad b/devel/astyle/files/patch-ad index 942de82..44e863d 100644 --- a/devel/astyle/files/patch-ad +++ b/devel/astyle/files/patch-ad @@ -1,10 +1,21 @@ ---- Makefile.orig Sat Sep 25 10:29:04 1999 -+++ Makefile Sun Oct 3 15:19:42 1999 -@@ -1,6 +1,6 @@ +--- Makefile.orig Sat Sep 25 08:29:04 1999 ++++ Makefile Fri Feb 4 19:58:09 2000 +@@ -1,13 +1,15 @@ # "Artistic Style" Makefile -CPPFLAGS = -O2 -W ++CXX?= g++ +CPPFLAGS = ${CXXFLAGS} ++CPPFLAGS ?= -O2 OBJS = ASResource.o ASBeautifier.o ASFormatter.o astyle_main.o astyle: $(OBJS) +- g++ $(CPPFLAGS) -o astyle $(OBJS) ++ $(CXX) $(CPPFLAGS) -o astyle $(OBJS) + + .cpp.o: +- g++ $(CPPFLAGS) -c $< ++ $(CXX) $(CPPFLAGS) -c $< + .SUFFIXES: .cpp .c .o + + clean: -- cgit v1.1