From owner-svn-ports-all@freebsd.org Wed Mar 30 00:48:57 2016 Return-Path: Delivered-To: svn-ports-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 9ADCEAE2678; Wed, 30 Mar 2016 00:48:57 +0000 (UTC) (envelope-from amdmi3@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 621AC12A1; Wed, 30 Mar 2016 00:48:57 +0000 (UTC) (envelope-from amdmi3@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id u2U0mu1Y026024; Wed, 30 Mar 2016 00:48:56 GMT (envelope-from amdmi3@FreeBSD.org) Received: (from amdmi3@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id u2U0mtLe026018; Wed, 30 Mar 2016 00:48:55 GMT (envelope-from amdmi3@FreeBSD.org) Message-Id: <201603300048.u2U0mtLe026018@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: amdmi3 set sender to amdmi3@FreeBSD.org using -f From: Dmitry Marakasov Date: Wed, 30 Mar 2016 00:48:55 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r412145 - in head/devel/zthread: . files X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 30 Mar 2016 00:48:57 -0000 Author: amdmi3 Date: Wed Mar 30 00:48:55 2016 New Revision: 412145 URL: https://svnweb.freebsd.org/changeset/ports/412145 Log: - Add LICENSE - Switch to options helpers - Regenerate patches with `make makepatch` Modified: head/devel/zthread/Makefile head/devel/zthread/files/patch-include__zthread__Barrier.h head/devel/zthread/files/patch-include__zthread__BlockingQueue.h head/devel/zthread/files/patch-include__zthread__Guard.h head/devel/zthread/files/patch-src__MutexImpl.h head/devel/zthread/files/patch-src__ThreadQueue.cxx Modified: head/devel/zthread/Makefile ============================================================================== --- head/devel/zthread/Makefile Wed Mar 30 00:08:38 2016 (r412144) +++ head/devel/zthread/Makefile Wed Mar 30 00:48:55 2016 (r412145) @@ -11,16 +11,19 @@ DISTNAME= ZThread-${PORTVERSION} MAINTAINER= ports@FreeBSD.org COMMENT= Platform-independent object-oriented C++ threading library +LICENSE= MIT +LICENSE_FILE= ${WRKSRC}/COPYING + USES= gmake libtool GNU_CONFIGURE= yes CONFIGURE_ARGS= --without-ftime --disable-static -MAKE_ARGS+= INSTALL_PROGRAM="${INSTALL_SCRIPT}" +MAKE_ARGS= INSTALL_PROGRAM="${INSTALL_SCRIPT}" USE_LDCONFIG= yes -OPTIONS_DEFINE= DOCS - PORTDOCS= AUTHORS ChangeLog NEWS README TODO +OPTIONS_DEFINE= DOCS + post-extract: @${FIND} ${WRKSRC} -name CVS -type d -delete @@ -30,8 +33,10 @@ post-patch: ${WRKSRC}/Makefile.in post-install: + @${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libZThread.so + +post-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} (cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR}) - ${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libZThread.so .include Modified: head/devel/zthread/files/patch-include__zthread__Barrier.h ============================================================================== --- head/devel/zthread/files/patch-include__zthread__Barrier.h Wed Mar 30 00:08:38 2016 (r412144) +++ head/devel/zthread/files/patch-include__zthread__Barrier.h Wed Mar 30 00:48:55 2016 (r412145) @@ -1,6 +1,6 @@ ---- ./include/zthread/Barrier.h.orig 2005-03-13 00:23:00.000000000 -0500 -+++ ./include/zthread/Barrier.h 2009-04-23 15:03:09.000000000 -0400 -@@ -150,7 +150,7 @@ +--- include/zthread/Barrier.h.orig 2005-03-13 05:23:00 UTC ++++ include/zthread/Barrier.h +@@ -150,7 +150,7 @@ namespace ZThread { } else { @@ -9,7 +9,7 @@ try { -@@ -251,7 +251,7 @@ +@@ -251,7 +251,7 @@ namespace ZThread { } else { Modified: head/devel/zthread/files/patch-include__zthread__BlockingQueue.h ============================================================================== --- head/devel/zthread/files/patch-include__zthread__BlockingQueue.h Wed Mar 30 00:08:38 2016 (r412144) +++ head/devel/zthread/files/patch-include__zthread__BlockingQueue.h Wed Mar 30 00:48:55 2016 (r412145) @@ -1,6 +1,6 @@ ---- ./include/zthread/BlockingQueue.h.orig 2005-03-12 21:04:18.000000000 -0500 -+++ ./include/zthread/BlockingQueue.h 2009-04-23 15:03:09.000000000 -0400 -@@ -83,7 +83,7 @@ +--- include/zthread/BlockingQueue.h.orig 2005-03-13 02:04:18 UTC ++++ include/zthread/BlockingQueue.h +@@ -83,7 +83,7 @@ namespace ZThread { /** * @see Queue::add(const T& item, unsigned long timeout) */ Modified: head/devel/zthread/files/patch-include__zthread__Guard.h ============================================================================== --- head/devel/zthread/files/patch-include__zthread__Guard.h Wed Mar 30 00:08:38 2016 (r412144) +++ head/devel/zthread/files/patch-include__zthread__Guard.h Wed Mar 30 00:48:55 2016 (r412145) @@ -1,6 +1,6 @@ ---- ./include/zthread/Guard.h.orig 2005-03-12 21:10:09.000000000 -0500 -+++ ./include/zthread/Guard.h 2013-01-17 13:50:40.000000000 -0500 -@@ -108,7 +108,7 @@ +--- include/zthread/Guard.h.orig 2005-03-13 02:10:09 UTC ++++ include/zthread/Guard.h +@@ -108,7 +108,7 @@ class CompoundScope { } template @@ -9,7 +9,7 @@ if(Scope1::createScope(l, ms)) if(!Scope2::createScope(l, ms)) { -@@ -428,7 +428,7 @@ +@@ -428,7 +428,7 @@ public: template Guard(Guard& g) : LockHolder(g) { @@ -18,7 +18,7 @@ } -@@ -458,7 +458,7 @@ +@@ -458,7 +458,7 @@ public: template Guard(Guard& g, LockType& lock) : LockHolder(lock) { @@ -27,7 +27,7 @@ } -@@ -491,7 +491,7 @@ +@@ -491,7 +491,7 @@ Guard::~Guard() try { Modified: head/devel/zthread/files/patch-src__MutexImpl.h ============================================================================== --- head/devel/zthread/files/patch-src__MutexImpl.h Wed Mar 30 00:08:38 2016 (r412144) +++ head/devel/zthread/files/patch-src__MutexImpl.h Wed Mar 30 00:48:55 2016 (r412145) @@ -1,6 +1,6 @@ ---- ./src/MutexImpl.h.orig 2005-03-12 22:59:15.000000000 -0500 -+++ ./src/MutexImpl.h 2009-04-23 15:03:09.000000000 -0400 -@@ -153,7 +153,7 @@ +--- src/MutexImpl.h.orig 2005-03-13 03:59:15 UTC ++++ src/MutexImpl.h +@@ -153,7 +153,7 @@ void MutexImpl::acquire( _owner = self; @@ -9,7 +9,7 @@ } -@@ -164,7 +164,7 @@ +@@ -164,7 +164,7 @@ void MutexImpl::acquire( _waiters.insert(self); m.acquire(); @@ -18,7 +18,7 @@ { -@@ -173,7 +173,7 @@ +@@ -173,7 +173,7 @@ void MutexImpl::acquire( } @@ -27,7 +27,7 @@ m.release(); -@@ -192,7 +192,7 @@ +@@ -192,7 +192,7 @@ void MutexImpl::acquire( assert(_owner == 0); _owner = self; @@ -36,7 +36,7 @@ break; -@@ -236,7 +236,7 @@ +@@ -236,7 +236,7 @@ bool MutexImpl::tryAcqui _owner = self; @@ -45,7 +45,7 @@ } -@@ -253,7 +253,7 @@ +@@ -253,7 +253,7 @@ bool MutexImpl::tryAcqui m.acquire(); @@ -54,7 +54,7 @@ { -@@ -262,7 +262,7 @@ +@@ -262,7 +262,7 @@ bool MutexImpl::tryAcqui } @@ -63,7 +63,7 @@ m.release(); -@@ -284,7 +284,7 @@ +@@ -284,7 +284,7 @@ bool MutexImpl::tryAcqui assert(0 == _owner); _owner = self; @@ -72,7 +72,7 @@ break; -@@ -326,7 +326,7 @@ +@@ -326,7 +326,7 @@ void MutexImpl::release( _owner = 0; Modified: head/devel/zthread/files/patch-src__ThreadQueue.cxx ============================================================================== --- head/devel/zthread/files/patch-src__ThreadQueue.cxx Wed Mar 30 00:08:38 2016 (r412144) +++ head/devel/zthread/files/patch-src__ThreadQueue.cxx Wed Mar 30 00:48:55 2016 (r412145) @@ -1,6 +1,6 @@ ---- ./src/ThreadQueue.cxx.orig 2005-03-12 22:55:23.000000000 -0500 -+++ ./src/ThreadQueue.cxx 2013-01-17 13:48:32.000000000 -0500 -@@ -139,11 +139,12 @@ +--- src/ThreadQueue.cxx.orig 2005-03-13 03:55:23 UTC ++++ src/ThreadQueue.cxx +@@ -139,11 +139,12 @@ namespace ZThread { // Wake the main thread,if its waiting, when the last pending-thread becomes available; // Otherwise, take note that no wait for pending threads to finish is needed