[csw-devel] SF.net SVN: gar:[21408] csw/mgar/pkg/bonnie++/trunk

lblume at users.sourceforge.net lblume at users.sourceforge.net
Fri Jun 28 23:07:11 CEST 2013


Revision: 21408
          http://gar.svn.sourceforge.net/gar/?rev=21408&view=rev
Author:   lblume
Date:     2013-06-28 21:07:05 +0000 (Fri, 28 Jun 2013)
Log Message:
-----------
bonnie++/trunk: Add 64 bit support wit a patch to propagate the needed LDFLAGS

Modified Paths:
--------------
    csw/mgar/pkg/bonnie++/trunk/Makefile

Added Paths:
-----------
    csw/mgar/pkg/bonnie++/trunk/files/0001-ld-needs-flags.patch

Modified: csw/mgar/pkg/bonnie++/trunk/Makefile
===================================================================
--- csw/mgar/pkg/bonnie++/trunk/Makefile	2013-06-28 10:43:01 UTC (rev 21407)
+++ csw/mgar/pkg/bonnie++/trunk/Makefile	2013-06-28 21:07:05 UTC (rev 21408)
@@ -16,6 +16,8 @@
 MASTER_SITES = http://www.coker.com.au/bonnie++/experimental/
 DISTFILES  = $(NAME)-$(FILEVERSION).tgz
 
+PATCHFILES += 0001-ld-needs-flags.patch
+
 PACKAGES = CSWbonnie++
 CATALOGNAME_CSWbonnie++ = bonnie++
 SPKG_DESC_CSWbonnie++ = A benchmark suite testing hard drive and file system performance
@@ -26,7 +28,11 @@
 
 CONFIGURE_ARGS = $(DIRPATHS)
 
+BUILD64 = 1
+ISAEXEC = 1
+
 TEST_TARGET =
+BUILD_SCRIPTS   = custom
 INSTALL_SCRIPTS = custom
 
 include gar/category.mk
@@ -38,6 +44,11 @@
 MAN1FILES = bon_csv2html.1 bon_csv2txt.1 generate_randfile.1
 MAN8FILES = bonnie++.8 zcav.8 getc_putc.8
 
+build-custom:
+	@echo " => Building $(CATALOGNAME)"
+	cd $(WORKSRC) && $(MAKE) MORECFLAGS="$(CXXFLAGS)" LDFLAGS="$(LDFLAGS)"
+	@$(MAKECOOKIE)
+	
 install-custom:
 	@echo " => Installing $(CATALOGNAME)"
 	ginstall -d $(DESTDIR)$(bindir)

Added: csw/mgar/pkg/bonnie++/trunk/files/0001-ld-needs-flags.patch
===================================================================
--- csw/mgar/pkg/bonnie++/trunk/files/0001-ld-needs-flags.patch	                        (rev 0)
+++ csw/mgar/pkg/bonnie++/trunk/files/0001-ld-needs-flags.patch	2013-06-28 21:07:05 UTC (rev 21408)
@@ -0,0 +1,11 @@
+--- a/Makefile.in	Tue Dec 30 22:04:25 2008
++++ b/Makefile.in	Thu Jun 27 00:14:39 2013
+@@ -11,7 +11,7 @@
+ WFLAGS=-Wall -W -Wshadow -Wpointer-arith -Wwrite-strings -pedantic -ffor-scope -Wcast-align -Wsign-compare -Wpointer-arith -Wwrite-strings -Wformat-security -Wswitch-enum -Winit-self $(MORE_WARNINGS)
+ CFLAGS=-O2 @debug@ -DNDEBUG $(WFLAGS) $(MORECFLAGS)
+ CXX=@CXX@ $(CFLAGS)
+-LINK=@CXX@
++LINK=@CXX@ $(LDFLAGS)
+ THREAD_LFLAGS=@thread_ldflags@
+ 
+ INSTALL=@INSTALL@

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