diff options
author | Kris Kennaway <kris@FreeBSD.org> | 2000-02-05 03:59:13 +0000 |
---|---|---|
committer | Kris Kennaway <kris@FreeBSD.org> | 2000-02-05 03:59:13 +0000 |
commit | 842a5fe7a0543818daacbc14afd453456110ff78 (patch) | |
tree | d5f5c8e19ca2894253a3fc9ed76353ba9c48ed49 /devel | |
parent | 673a54499a684b74de80052d66fa62d86d0e9253 (diff) | |
download | ports-842a5fe7a0543818daacbc14afd453456110ff78.tar.gz ports-842a5fe7a0543818daacbc14afd453456110ff78.zip |
Respect CXX and set a default CXXFLAGS
Notes
Notes:
svn path=/head/; revision=25490
Diffstat (limited to 'devel')
-rw-r--r-- | devel/astyle/files/patch-ad | 17 |
1 files changed, 14 insertions, 3 deletions
diff --git a/devel/astyle/files/patch-ad b/devel/astyle/files/patch-ad index 942de82971b7..44e863dfe9f2 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: |