[csw-devel] SF.net SVN: gar:[10411] csw/mgar/pkg/clpbar/trunk

wahwah at users.sourceforge.net wahwah at users.sourceforge.net
Sat Jul 3 22:40:53 CEST 2010


Revision: 10411
          http://gar.svn.sourceforge.net/gar/?rev=10411&view=rev
Author:   wahwah
Date:     2010-07-03 20:40:52 +0000 (Sat, 03 Jul 2010)

Log Message:
-----------
clpbar: Allowing to modify CFLAGS

Modified Paths:
--------------
    csw/mgar/pkg/clpbar/trunk/Makefile
    csw/mgar/pkg/clpbar/trunk/checksums

Added Paths:
-----------
    csw/mgar/pkg/clpbar/trunk/files/0001-Allowing-to-modify-CFLAGS.patch

Modified: csw/mgar/pkg/clpbar/trunk/Makefile
===================================================================
--- csw/mgar/pkg/clpbar/trunk/Makefile	2010-07-03 20:12:11 UTC (rev 10410)
+++ csw/mgar/pkg/clpbar/trunk/Makefile	2010-07-03 20:40:52 UTC (rev 10411)
@@ -11,6 +11,7 @@
 SPKG_SOURCEURL = http://clpbar.sourceforge.net/
 MASTER_SITES = $(SF_MIRRORS)
 SF_PROJ = clpbar
+PATCHFILES += 0001-Allowing-to-modify-CFLAGS.patch
 
 DISTFILES  = $(GARNAME)_$(GARVERSION).tar.gz
 UFILES_REGEX = $(GARNAME)-(\d+(?:\.\d+)*).tar.gz

Modified: csw/mgar/pkg/clpbar/trunk/checksums
===================================================================
--- csw/mgar/pkg/clpbar/trunk/checksums	2010-07-03 20:12:11 UTC (rev 10410)
+++ csw/mgar/pkg/clpbar/trunk/checksums	2010-07-03 20:40:52 UTC (rev 10411)
@@ -1 +1,2 @@
+0fc824259a4b259263856af54f76b605  0001-Allowing-to-modify-CFLAGS.patch
 d824415b391a3f826b410c86223e54a5  bar_1.10.9.tar.gz

Added: csw/mgar/pkg/clpbar/trunk/files/0001-Allowing-to-modify-CFLAGS.patch
===================================================================
--- csw/mgar/pkg/clpbar/trunk/files/0001-Allowing-to-modify-CFLAGS.patch	                        (rev 0)
+++ csw/mgar/pkg/clpbar/trunk/files/0001-Allowing-to-modify-CFLAGS.patch	2010-07-03 20:40:52 UTC (rev 10411)
@@ -0,0 +1,52 @@
+From c0f3d3cfdff8a4838b903eb80bd63c2966f511a2 Mon Sep 17 00:00:00 2001
+From: Maciej Blizinski <maciej at opencsw.org>
+Date: Sat, 3 Jul 2010 22:37:03 +0200
+Subject: [PATCH] Allowing to modify CFLAGS
+
+---
+ Makefile.am |    4 ++--
+ Makefile.in |    4 ++--
+ 2 files changed, 4 insertions(+), 4 deletions(-)
+
+diff --git a/Makefile.am b/Makefile.am
+index e6fcc76..b667595 100644
+--- a/Makefile.am
++++ b/Makefile.am
+@@ -12,10 +12,10 @@
+ #
+ 
+ # CFLAGS =
+-CFLAGS = -O2
++CFLAGS ?= -O2
+ # CFLAGS = -g -Wall
+ 
+-LDFLAGS = -s
++LDFLAGS ?= -s
+ # LDFLAGS =
+ 
+ bin_PROGRAMS =
+diff --git a/Makefile.in b/Makefile.in
+index 9166e52..6f72858 100644
+--- a/Makefile.in
++++ b/Makefile.in
+@@ -128,7 +128,7 @@ CC = @CC@
+ CCDEPMODE = @CCDEPMODE@
+ 
+ # CFLAGS =
+-CFLAGS = -O2
++CFLAGS ?= -O2
+ CPP = @CPP@
+ CPPFLAGS = @CPPFLAGS@
+ CYGPATH_W = @CYGPATH_W@
+@@ -150,7 +150,7 @@ INSTALL_PROGRAM = @INSTALL_PROGRAM@
+ INSTALL_SCRIPT = @INSTALL_SCRIPT@
+ INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
+ # CFLAGS = -g -Wall
+-LDFLAGS = -s
++LDFLAGS ?= -s
+ LIBOBJS = @LIBOBJS@
+ LIBS = @LIBS@
+ LN_S = @LN_S@
+-- 
+1.7.1
+


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.


More information about the devel mailing list