[csw-devel] SF.net SVN: gar:[7395] csw/mgar/pkg/mbuffer/trunk

skayser at users.sourceforge.net skayser at users.sourceforge.net
Mon Nov 23 19:38:49 CET 2009


Revision: 7395
          http://gar.svn.sourceforge.net/gar/?rev=7395&view=rev
Author:   skayser
Date:     2009-11-23 18:38:49 +0000 (Mon, 23 Nov 2009)

Log Message:
-----------
mbuffer: version bump to 20091122, added TMPDIR cleanup on test failures

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

Modified: csw/mgar/pkg/mbuffer/trunk/Makefile
===================================================================
--- csw/mgar/pkg/mbuffer/trunk/Makefile	2009-11-23 12:27:11 UTC (rev 7394)
+++ csw/mgar/pkg/mbuffer/trunk/Makefile	2009-11-23 18:38:49 UTC (rev 7395)
@@ -1,12 +1,8 @@
 # STATUS/TODO
-# - 20090628 contained assertion failures in 64-bit code which have been fixed
-#   with 20091012, 20091012 introduced hickups with non-IPv6 systems when using
-#   -I / -O (and not explicitly specifying -4)
-# - 20091110 does not work on Solaris 8 / 9 any more .. upstream informed
-# - 20091110 dumps core on connection refused .. upstream informed
-
+# - provide feedback about -xarch=generic64 to upstream
+# - verify that tests pass
 GARNAME = mbuffer
-GARVERSION = 20091110
+GARVERSION = 20091122
 CATEGORIES = utils
 
 DESCRIPTION = A tool for buffering data streams
@@ -69,10 +65,17 @@
 
 	# Target test3 is skipped because it contains IPV6 tests which
 	# are not supported by the build farm boxes (yet).
-	$(MAKE) -C $(TMPDIR) -o test3 check
-	rm -rf $(TMPDIR)
+	$(MAKE) -C $(TMPDIR) -o test3 check || rm -rf $(TMPDIR) && exit 1
+	test -d $(TMPDIR) && rm -rf $(TMPDIR)
 	@$(MAKECOOKIE)
 
+# mbuffer-20091122 always tries to use -xarch=generic64,
+# even for non-64bit builds
+post-configure-modulated:
+	[ "$(GARCH)" -eq "i386" -o "$(GARCH)" -eq "sparcv8" ] && \
+		gsed -ie 's/-xarch=generic64//' $(WORKSRC)/Makefile
+	@$(MAKECOOKIE)
+
 post-install-modulated: DOCS = ChangeLog README AUTHORS
 post-install-modulated: DOCDEST = $(DESTDIR)$(docdir)/$(GARNAME)
 post-install-modulated:

Modified: csw/mgar/pkg/mbuffer/trunk/checksums
===================================================================
--- csw/mgar/pkg/mbuffer/trunk/checksums	2009-11-23 12:27:11 UTC (rev 7394)
+++ csw/mgar/pkg/mbuffer/trunk/checksums	2009-11-23 18:38:49 UTC (rev 7395)
@@ -1 +1 @@
-1c2ba8b865c3a26c503bb680810142be  mbuffer-20091110.tgz
+3f05bd393ac749ed820636e5aaed7848  mbuffer-20091122.tgz


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