[csw-devel] SF.net SVN: gar:[17498] csw/mgar/pkg/iozone/trunk/Makefile

aironskin at users.sourceforge.net aironskin at users.sourceforge.net
Wed Mar 21 16:07:58 CET 2012


Revision: 17498
          http://gar.svn.sourceforge.net/gar/?rev=17498&view=rev
Author:   aironskin
Date:     2012-03-21 15:07:58 +0000 (Wed, 21 Mar 2012)
Log Message:
-----------
iozone/trunk: The post-extract is fixed. It builds now on both Solaris9 & Solaris10

Modified Paths:
--------------
    csw/mgar/pkg/iozone/trunk/Makefile

Modified: csw/mgar/pkg/iozone/trunk/Makefile
===================================================================
--- csw/mgar/pkg/iozone/trunk/Makefile	2012-03-21 15:04:44 UTC (rev 17497)
+++ csw/mgar/pkg/iozone/trunk/Makefile	2012-03-21 15:07:58 UTC (rev 17498)
@@ -18,7 +18,6 @@
 MASTER_SITES = http://www.iozone.org/src/current/
 
 DISTNAME     = $(NAME)$(DISTVERSION)
-WORKSRC      = $(WORKDIR)/$(DISTNAME)/src/current
 DOCSRC       = $(WORKDIR)$(DISTNAME)/docs
 
 DISTFILES    = $(DISTNAME).tar
@@ -37,20 +36,20 @@
 TEST_SCRIPTS =
 
 BUILD_ARGS = Solaris8-64-VXFS
-BUILD_SCRIPTS = $(WORKSRC)/makefile
+BUILD_SCRIPTS = $(WORKSRC)/src/current/makefile
 
 INSTALL_SCRIPTS = custom
 
 include gar/category.mk
 
 post-extract-modulated:
-	mkdir -p work/solaris9-sparc/build-isa-sparcv8/$(DISTNAME)/src/current
-	cp $(FILEDIR)/vx_ioctl.h work/solaris9-sparc/build-isa-sparcv8/$(DISTNAME)/src/current
+	mkdir -p $(WORKSRC)/src/current
+	cp $(FILEDIR)/vx_ioctl.h $(WORKSRC)/src/current
 	@$(MAKECOOKIE)
 
 install-custom:
 	@echo " ==> Installing $(NAME)"
-	ginstall -D $(WORKSRC)/iozone $(DESTDIR)$(bindir)/iozone
+	ginstall -D $(WORKSRC)/src/current/iozone $(DESTDIR)$(bindir)/iozone
 	ginstall -D $(DOCSRC)/iozone.1 $(DESTDIR)$(mandir)/man8/iozone.8
 	ginstall -D $(DOCSRC)/IOzone_msword_98.pdf $(DESTDIR)$(docdir)/iozone/IOzone_msword_98.pdf
 	ginstall $(DOCSRC)/IOzone_msword_98.doc $(DESTDIR)$(docdir)/iozone/IOzone_msword_98.doc

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