pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/devel/astyle don't pass gcc specific -W flags, call ${...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/2418e39472a2
branches:  trunk
changeset: 476494:2418e39472a2
user:      grant <grant%pkgsrc.org@localhost>
date:      Sat Jun 12 02:30:35 2004 +0000

description:
don't pass gcc specific -W flags, call ${CXX} not "g++".

diffstat:

 devel/astyle/distinfo         |   4 ++--
 devel/astyle/patches/patch-aa |  11 ++++++-----
 2 files changed, 8 insertions(+), 7 deletions(-)

diffs (46 lines):

diff -r 47434bb915a4 -r 2418e39472a2 devel/astyle/distinfo
--- a/devel/astyle/distinfo     Sat Jun 12 02:28:46 2004 +0000
+++ b/devel/astyle/distinfo     Sat Jun 12 02:30:35 2004 +0000
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.3 2003/11/05 15:27:41 jmmv Exp $
+$NetBSD: distinfo,v 1.4 2004/06/12 02:30:35 grant Exp $
 
 SHA1 (astyle_1.13.6.1.zip) = 4e0172fe30986d68c61b4a7c1638a1fc42ea0675
 Size (astyle_1.13.6.1.zip) = 61422 bytes
-SHA1 (patch-aa) = 8dd8b4b7aebd70baecee4c060c977e8d150da471
+SHA1 (patch-aa) = 1bb6cb72145c52e548336d4d90020fa982d049e1
 SHA1 (patch-ab) = c9b21d45f53331411425a734971f003d415b11e7
diff -r 47434bb915a4 -r 2418e39472a2 devel/astyle/patches/patch-aa
--- a/devel/astyle/patches/patch-aa     Sat Jun 12 02:28:46 2004 +0000
+++ b/devel/astyle/patches/patch-aa     Sat Jun 12 02:30:35 2004 +0000
@@ -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 @@
  
  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:



Home | Main Index | Thread Index | Old Index