summaryrefslogtreecommitdiffstats
path: root/devel/astyle
diff options
context:
space:
mode:
authorkris <kris@FreeBSD.org>2000-02-05 03:59:13 +0000
committerkris <kris@FreeBSD.org>2000-02-05 03:59:13 +0000
commit1b5bed2179d357e3913189452389b805a15cc50f (patch)
tree660089237f9497b6dc80b5072866d03fc3909289 /devel/astyle
parent2866b65676cd41d3f38207a732f307428038cc0a (diff)
downloadFreeBSD-ports-1b5bed2179d357e3913189452389b805a15cc50f.zip
FreeBSD-ports-1b5bed2179d357e3913189452389b805a15cc50f.tar.gz
Respect CXX and set a default CXXFLAGS
Diffstat (limited to 'devel/astyle')
-rw-r--r--devel/astyle/files/patch-ad17
1 files changed, 14 insertions, 3 deletions
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:
OpenPOWER on IntegriCloud