summaryrefslogtreecommitdiff
path: root/devel/astyle/patches
diff options
context:
space:
mode:
authorgrant <grant>2004-06-12 02:30:35 +0000
committergrant <grant>2004-06-12 02:30:35 +0000
commit230431c65c50b43234825ad24ce0ba2d185b4f92 (patch)
treecaf9d9e7e55d567f2476418fcc1a11f7f0c123ee /devel/astyle/patches
parent3cb6ea5af63adfbb6000c729483ea611882b5d83 (diff)
downloadpkgsrc-230431c65c50b43234825ad24ce0ba2d185b4f92.tar.gz
don't pass gcc specific -W flags, call ${CXX} not "g++".
Diffstat (limited to 'devel/astyle/patches')
-rw-r--r--devel/astyle/patches/patch-aa11
1 files changed, 6 insertions, 5 deletions
diff --git a/devel/astyle/patches/patch-aa b/devel/astyle/patches/patch-aa
index 00ac03f7951..a3a62883d93 100644
--- a/devel/astyle/patches/patch-aa
+++ b/devel/astyle/patches/patch-aa
@@ -1,12 +1,13 @@
-$NetBSD: patch-aa,v 1.2 2003/11/05 15:27:41 jmmv Exp $
+$NetBSD: patch-aa,v 1.3 2004/06/12 02:30:35 grant Exp $
---- Makefile.orig 2000-02-11 12:02:10.000000000 +0100
+--- Makefile.orig 2000-02-11 12:02:10.000000000 +1100
+++ Makefile
@@ -1,14 +1,19 @@
# "Artistic Style" Makefile
- CPPFLAGS = -Wall -Wno-sign-compare -O2
+-CPPFLAGS = -Wall -Wno-sign-compare -O2
-OBJS = ASResource.o ASBeautifier.o ASFormatter.o astyle_main.o
++#CPPFLAGS = -Wall -Wno-sign-compare -O2
+OBJS = asresource.o asbeautifier.o asformatter.o astyle_main.o
+
+all: astyle
@@ -16,11 +17,11 @@ $NetBSD: patch-aa,v 1.2 2003/11/05 15:27:41 jmmv Exp $
astyle: $(OBJS)
- g++ $(CPPFLAGS) -o astyle $(OBJS)
-+ g++ $(CPPFLAGS) $(LDFLAGS) -o astyle $(OBJS)
++ $(CXX) $(CPPFLAGS) $(LDFLAGS) -o astyle $(OBJS)
.cpp.o:
- g++ $(CPPFLAGS) -c $<
-+ g++ $(CPPFLAGS) $(CFLAGS) -c $<
++ $(CXX) $(CPPFLAGS) $(CFLAGS) -c $<
.SUFFIXES: .cpp .c .o
clean: