[csw-devel] SF.net SVN: gar:[6178] csw/mgar/pkg/pigz/trunk

dmichelsen at users.sourceforge.net dmichelsen at users.sourceforge.net
Fri Sep 4 16:36:09 CEST 2009


Revision: 6178
          http://gar.svn.sourceforge.net/gar/?rev=6178&view=rev
Author:   dmichelsen
Date:     2009-09-04 14:36:09 +0000 (Fri, 04 Sep 2009)

Log Message:
-----------
pigz: Use wrapper script to force new thread model on Solaris 8

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

Modified: csw/mgar/pkg/pigz/trunk/Makefile
===================================================================
--- csw/mgar/pkg/pigz/trunk/Makefile	2009-09-04 14:02:38 UTC (rev 6177)
+++ csw/mgar/pkg/pigz/trunk/Makefile	2009-09-04 14:36:09 UTC (rev 6178)
@@ -12,6 +12,7 @@
 
 MASTER_SITES = http://www.zlib.net/pigz/
 DISTFILES  = $(GARNAME)-$(GARVERSION).tar.gz
+DISTFILES += pigz-wrapper
 
 # We define upstream file regex so we can be notifed of new upstream software release
 UFILES_REGEX = $(GARNAME)-(\d+(?:\.\d+)*).tar.gz
@@ -29,6 +30,8 @@
 # Optimization show effects < 5%
 #REQUESTED_ISAS = $(ISALIST_$(GARCOMPILER))
 
+EXTRA_CFLAGS = -mt
+
 CONFIGURE_SCRIPTS =
 BUILD_SCRIPTS = custom
 INSTALL_SCRIPTS = custom
@@ -44,8 +47,11 @@
 
 install-custom:
 	ginstall -d $(DESTDIR)$(bindir)
-	ginstall $(WORKSRC)/pigz $(DESTDIR)$(bindir)
+	ginstall $(WORKDIR)/pigz-wrapper $(DESTDIR)$(bindir)/pigz
 	cd $(DESTDIR)$(bindir) && gln pigz unpigz
+	ginstall -d $(DESTDIR)$(libexecdir)
+	ginstall $(WORKSRC)/pigz $(DESTDIR)$(libexecdir)
+	cd $(DESTDIR)$(libexecdir) && gln pigz unpigz
 	ginstall -d $(DESTDIR)$(mandir)/man1
 	ginstall $(WORKSRC)/pigz.1 $(DESTDIR)$(mandir)/man1
 	ginstall -d $(DESTDIR)$(docdir)/$(GARNAME)

Modified: csw/mgar/pkg/pigz/trunk/checksums
===================================================================
--- csw/mgar/pkg/pigz/trunk/checksums	2009-09-04 14:02:38 UTC (rev 6177)
+++ csw/mgar/pkg/pigz/trunk/checksums	2009-09-04 14:36:09 UTC (rev 6178)
@@ -1 +1,2 @@
 580873165ef3a369674f0c0af4c96d67  download/pigz-2.1.5.tar.gz
+2c89ba7ba8b26b2b91a7a061f39fd7e8  download/pigz-wrapper


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