Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 14 Dec 2017 17:28:54 +0000 (UTC)
From:      Tobias Kortkamp <tobik@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r456316 - head/devel/libconcurrent
Message-ID:  <201712141728.vBEHSsEZ085808@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: tobik
Date: Thu Dec 14 17:28:54 2017
New Revision: 456316
URL: https://svnweb.freebsd.org/changeset/ports/456316

Log:
  devel/libconcurrent: Update to latest commit
  
  While here clean the port up a little and add TEST_TARGET

Modified:
  head/devel/libconcurrent/Makefile
  head/devel/libconcurrent/distinfo
  head/devel/libconcurrent/pkg-plist

Modified: head/devel/libconcurrent/Makefile
==============================================================================
--- head/devel/libconcurrent/Makefile	Thu Dec 14 17:21:22 2017	(r456315)
+++ head/devel/libconcurrent/Makefile	Thu Dec 14 17:28:54 2017	(r456316)
@@ -2,8 +2,7 @@
 # $FreeBSD$
 
 PORTNAME=	libconcurrent
-PORTVERSION=	0.0.20160303
-PORTREVISION=	4
+PORTVERSION=	0.0.20160629
 CATEGORIES=	devel
 
 MAINTAINER=	tobik@FreeBSD.org
@@ -12,33 +11,29 @@ COMMENT=	Tiny asymmetric-coroutine library
 LICENSE=	ZLIB
 LICENSE_FILE=	${WRKSRC}/LICENSE
 
+ONLY_FOR_ARCHS=	amd64 i386
+
 BUILD_DEPENDS=	nasm:devel/nasm
 
+USES=		gmake compiler:c11
 USE_GITHUB=	yes
 GH_ACCOUNT=	sharow
 # Rolling release
-GH_TAGNAME=	f55d33a789a4b2c6267268ec2d44a245f766f500
+GH_TAGNAME=	d84e7374c89be147ed7c0ba0fe844dad7f7ebb3e
 
-ONLY_FOR_ARCHS=	i386 amd64
-
-OPTIONS_DEFINE=	EXAMPLES
-
 MAKEFILE=	makefile
 MAKE_ARGS=	LIBCONCURRENT_DESTDIR=${STAGEDIR}${PREFIX}
-USES=		gmake compiler:c11
+TEST_TARGET=	test
 
+OPTIONS_DEFINE=	EXAMPLES
+
 post-patch:
-# Remove explicitly (re-)set C compiler and linker in libconcurrent's
-# makefile.  The ports system will provide the correct ones.  This is
-# needed on FreeBSD 9 where cc does not understand -std=c11.
-	@${REINPLACE_CMD} 's/CC=cc//g' ${WRKSRC}/makefile
-	@${REINPLACE_CMD} 's/LD=ld//g' ${WRKSRC}/makefile
 # libconcurrent's makefile resets ${ARCH} internally and the ports
 # system interferes with that for some reason, so replace it with a
-# more neutral variant.
-	@${REINPLACE_CMD} 's/ARCH/LIBCONCURRENT_ARCH/g' ${WRKSRC}/makefile
-# Same with ${DESTDIR}
-	@${REINPLACE_CMD} 's/DESTDIR/LIBCONCURRENT_DESTDIR/g' ${WRKSRC}/makefile
+# more neutral variant.  Same with ${DESTDIR}.
+	@${REINPLACE_CMD} -e 's/ARCH/LIBCONCURRENT_ARCH/g' \
+		-e 's/DESTDIR/LIBCONCURRENT_DESTDIR/g' \
+		${WRKSRC}/makefile
 
 post-patch-EXAMPLES-on:
 # Fix examples makefile to work out-of-tree

Modified: head/devel/libconcurrent/distinfo
==============================================================================
--- head/devel/libconcurrent/distinfo	Thu Dec 14 17:21:22 2017	(r456315)
+++ head/devel/libconcurrent/distinfo	Thu Dec 14 17:28:54 2017	(r456316)
@@ -1,2 +1,3 @@
-SHA256 (sharow-libconcurrent-0.0.20160303-f55d33a789a4b2c6267268ec2d44a245f766f500_GH0.tar.gz) = 418adeab02ce005756fc9c33165cf121ec4950f7e8f96b842fe22838a23953f4
-SIZE (sharow-libconcurrent-0.0.20160303-f55d33a789a4b2c6267268ec2d44a245f766f500_GH0.tar.gz) = 9550
+TIMESTAMP = 1513271521
+SHA256 (sharow-libconcurrent-0.0.20160629-d84e7374c89be147ed7c0ba0fe844dad7f7ebb3e_GH0.tar.gz) = 109acebc18bf81f16046e5f5011544ae4c849a8c1d31daebd7395fb0413b6a6f
+SIZE (sharow-libconcurrent-0.0.20160629-d84e7374c89be147ed7c0ba0fe844dad7f7ebb3e_GH0.tar.gz) = 10374

Modified: head/devel/libconcurrent/pkg-plist
==============================================================================
--- head/devel/libconcurrent/pkg-plist	Thu Dec 14 17:21:22 2017	(r456315)
+++ head/devel/libconcurrent/pkg-plist	Thu Dec 14 17:28:54 2017	(r456316)
@@ -9,4 +9,5 @@ lib/libconcurrent.a
 %%PORTEXAMPLES%%%%EXAMPLESDIR%%/float2.c
 %%PORTEXAMPLES%%%%EXAMPLESDIR%%/makefile
 %%PORTEXAMPLES%%%%EXAMPLESDIR%%/many_context1.c
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/strsplit.c
 %%PORTEXAMPLES%%%%EXAMPLESDIR%%/time_slice1.c



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201712141728.vBEHSsEZ085808>