diff options
author | kris <kris@FreeBSD.org> | 2000-02-05 11:59:13 +0800 |
---|---|---|
committer | kris <kris@FreeBSD.org> | 2000-02-05 11:59:13 +0800 |
commit | 1b5bed2179d357e3913189452389b805a15cc50f (patch) | |
tree | 660089237f9497b6dc80b5072866d03fc3909289 /devel/astyle | |
parent | 2866b65676cd41d3f38207a732f307428038cc0a (diff) | |
download | freebsd-ports-gnome-1b5bed2179d357e3913189452389b805a15cc50f.tar.gz freebsd-ports-gnome-1b5bed2179d357e3913189452389b805a15cc50f.tar.zst freebsd-ports-gnome-1b5bed2179d357e3913189452389b805a15cc50f.zip |
Respect CXX and set a default CXXFLAGS
Diffstat (limited to 'devel/astyle')
-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: |