aboutsummaryrefslogtreecommitdiff
path: root/devel/astyle/files/patch-ad
diff options
context:
space:
mode:
Diffstat (limited to 'devel/astyle/files/patch-ad')
-rw-r--r--devel/astyle/files/patch-ad19
1 files changed, 19 insertions, 0 deletions
diff --git a/devel/astyle/files/patch-ad b/devel/astyle/files/patch-ad
new file mode 100644
index 000000000000..10d223340b7c
--- /dev/null
+++ b/devel/astyle/files/patch-ad
@@ -0,0 +1,19 @@
+--- Makefile.orig Fri Feb 11 13:02:00 2000
++++ Makefile Sat Oct 26 21:35:38 2002
+@@ -1,13 +1,13 @@
+ # "Artistic Style" Makefile
+
+-CPPFLAGS = -Wall -Wno-sign-compare -O2
++CPPFLAGS = ${CXXFLAGS}
+ 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: