[csw-devel] SF.net SVN: gar:[5621] csw/mgar/pkg/siege/trunk

bensons at users.sourceforge.net bensons at users.sourceforge.net
Wed Jul 22 17:29:41 CEST 2009


Revision: 5621
          http://gar.svn.sourceforge.net/gar/?rev=5621&view=rev
Author:   bensons
Date:     2009-07-22 15:29:41 +0000 (Wed, 22 Jul 2009)

Log Message:
-----------
siege: fixed broken configure ignoring CFLAGS

Modified Paths:
--------------
    csw/mgar/pkg/siege/trunk/Makefile
    csw/mgar/pkg/siege/trunk/checksums
    csw/mgar/pkg/siege/trunk/files/patch-configure

Modified: csw/mgar/pkg/siege/trunk/Makefile
===================================================================
--- csw/mgar/pkg/siege/trunk/Makefile	2009-07-22 10:18:11 UTC (rev 5620)
+++ csw/mgar/pkg/siege/trunk/Makefile	2009-07-22 15:29:41 UTC (rev 5621)
@@ -18,7 +18,7 @@
 UFILES_REGEX = $(GARNAME)-(\d+(?:\.\d+)*).tar.gz
 
 # we require
-REQUIRED_PKGS = CSWcswclassutils CSWosslrt
+REQUIRED_PKGS = CSWosslrt
 
 # handle config file
 PRESERVECONF = $(sysconfdir)/urls.txt.CSW
@@ -30,12 +30,17 @@
 CONFIGURE_ARGS  = $(DIRPATHS)
 CONFIGURE_ARGS += --with-ssl=$(prefix)
 
-TEST_SCRIPTS =
+# no build tests
+SKIPTEST = 1
 
 INSTALL_SCRIPTS = bin man additional
 
 include gar/category.mk
 
+x-post-configure-modulated:
+	find $(WORKSRC) -name Makefile | xargs grep -l '^CFLAGS' \
+		| xargs perl -pi -e 's at CFLAGS =@CFLAGS = $(CFLAGS)@'
+
 # install is broken..
 bin-list  = $(WORKSRC)/src/siege
 bin-list += $(WORKSRC)/utils/bombardment

Modified: csw/mgar/pkg/siege/trunk/checksums
===================================================================
--- csw/mgar/pkg/siege/trunk/checksums	2009-07-22 10:18:11 UTC (rev 5620)
+++ csw/mgar/pkg/siege/trunk/checksums	2009-07-22 15:29:41 UTC (rev 5621)
@@ -1,3 +1,3 @@
 4acf8817dc68474af49acd8a73353559  download/patch-bombardment.in
-8bce716263ef7174152e7fa9f1dbe2dc  download/patch-configure
+e71b9d49cf017469f779448b32102468  download/patch-configure
 a5592e42d4217572d8035dec000f479c  download/siege-2.66.tar.gz

Modified: csw/mgar/pkg/siege/trunk/files/patch-configure
===================================================================
--- csw/mgar/pkg/siege/trunk/files/patch-configure	2009-07-22 10:18:11 UTC (rev 5620)
+++ csw/mgar/pkg/siege/trunk/files/patch-configure	2009-07-22 15:29:41 UTC (rev 5621)
@@ -1,6 +1,17 @@
 --- siege-2.66.orig/configure	2007-03-29 20:07:30.000000000 +0200
-+++ siege-2.66/configure	2009-07-21 17:32:30.638575422 +0200
-@@ -26980,9 +26980,9 @@
++++ siege-2.66/configure	2009-07-22 17:21:11.798205557 +0200
+@@ -20688,9 +20688,8 @@
+   ;;
+ esac
+ 
++oldCFLAGS=$CFLAGS
+ if test -n "$GCC"; then
+-  oldCFLAGS=$CFLAGS
+-  CFLAGS="$CFLAGS -W -Wall -Werror"
+   echo "$as_me:$LINENO: checking for buggy pthread mutex initializers" >&5
+ echo $ECHO_N "checking for buggy pthread mutex initializers... $ECHO_C" >&6
+ 
+@@ -26980,9 +26979,9 @@
  AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
   prefix=$prefix sysconfdir=$sysconfdir localstatedir=$localstatedir
   VERSION=$VERSION DATE="$DATE" PROGRAM="$PROGRAM" AUTHOR="$AUTHOR" EMAIL="$EMAIL"
@@ -13,7 +24,7 @@
  PLATFORM=$PLATFORM
  
  _ACEOF
-@@ -27891,7 +27891,7 @@
+@@ -27891,7 +27890,7 @@
  
  #define SIEGE_HOME     "$prefix"
  #define CNF_FILE       "$sysconfdir/urls.txt"


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