summaryrefslogtreecommitdiff
path: root/devel/astyle
diff options
context:
space:
mode:
authorKris Kennaway <kris@FreeBSD.org>2000-02-05 03:59:13 +0000
committerKris Kennaway <kris@FreeBSD.org>2000-02-05 03:59:13 +0000
commit842a5fe7a0543818daacbc14afd453456110ff78 (patch)
treed5f5c8e19ca2894253a3fc9ed76353ba9c48ed49 /devel/astyle
parentmove manpage from PLIST to MAN1= in the Makefile (diff)
Respect CXX and set a default CXXFLAGS
Notes
Notes: svn path=/head/; revision=25490
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 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: