From sunpoet@sunpoet.net  Mon Nov  4 13:55:47 2013
Return-Path: <sunpoet@sunpoet.net>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1])
	(using TLSv1 with cipher ADH-AES256-SHA (256/256 bits))
	(No client certificate requested)
	by hub.freebsd.org (Postfix) with ESMTP id 5BCA61DF;
	Mon,  4 Nov 2013 13:55:47 +0000 (UTC)
	(envelope-from sunpoet@sunpoet.net)
Received: from sunpoet.net (sunpoet.net [220.135.71.135])
	(using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits))
	(No client certificate requested)
	by mx1.freebsd.org (Postfix) with ESMTPS id 2208226C6;
	Mon,  4 Nov 2013 13:55:46 +0000 (UTC)
Received: by sunpoet.net (Postfix, from userid 1000)
	id B62C2451B; Mon,  4 Nov 2013 21:56:16 +0800 (CST)
Message-Id: <20131104135616.B62C2451B@sunpoet.net>
Date: Mon,  4 Nov 2013 21:56:16 +0800 (CST)
From: Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>
To: FreeBSD-gnats-submit@freebsd.org
Cc: jlaffaye@FreeBSD.org
Subject: [PATCH] devel/re2: update to 20131024
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         183661
>Category:       ports
>Synopsis:       [PATCH] devel/re2: update to 20131024
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    jlaffaye
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Mon Nov 04 14:00:00 UTC 2013
>Closed-Date:    Sat Nov 16 20:33:40 CET 2013
>Last-Modified:  Sat Nov 16 19:40:00 UTC 2013
>Originator:     Sunpoet Po-Chuan Hsieh
>Release:        FreeBSD 10.0-BETA1 amd64
>Organization:
The FreeBSD Project
>Environment:
System: FreeBSD bonjour.sunpoet.net 10.0-BETA1 FreeBSD 10.0-BETA1 #0 r256445: Tue Oct 15 04:48:04 CST
>Description:
- Update to 20131024
- Fix build with clang and libc++
- Remove leading indefinite article from COMMENT
- Respect CXXFLAGS
- Strip shared library
- Support STAGEDIR
- Sort PLIST
- Use single space after WWW:

Port maintainer (jlaffaye@FreeBSD.org) is cc'd.

Generated with FreeBSD Port Tools 0.99_8 (mode: update, diff: SVN)
>How-To-Repeat:
>Fix:

--- re2-20131024.patch begins here ---
Index: Makefile
===================================================================
--- Makefile	(revision 332719)
+++ Makefile	(working copy)
@@ -2,19 +2,31 @@
 # $FreeBSD$
 
 PORTNAME=	re2
-PORTVERSION=	20120226
+PORTVERSION=	20131024
 CATEGORIES=	devel
-MASTER_SITES=	LOCAL/jlaffaye
+MASTER_SITES=	GOOGLE_CODE
+EXTRACT_SUFX=	.tgz
 
 MAINTAINER=	jlaffaye@FreeBSD.org
-COMMENT=	A fast C++ regex library
+COMMENT=	Fast C++ regex library
 
 LICENSE=	BSD
 
+MAKE_ARGS=	CXX="${CXX}" CXXFLAGS="${CXXFLAGS}" prefix=${PREFIX}
 USE_LDCONFIG=	yes
-USE_GMAKE=	yes
-MAKE_ENV=	prefix=${PREFIX}
-MAKE_ARGS+=	-e
+USES=		compiler:c++11-lang gmake
 
-NO_STAGE=	yes
-.include <bsd.port.mk>
+WRKSRC=		${WRKDIR}/${PORTNAME}
+
+.include <bsd.port.pre.mk>
+
+post-patch:
+# remove tr1 if using libc++
+.if ${COMPILER_FEATURES:Mlibc++}
+	@${REINPLACE_CMD} -e 's|tr1/||; s|tr1::||' ${WRKSRC}/util/util.h
+.endif
+
+post-build:
+	@${STRIP_CMD} ${WRKSRC}/obj/so/libre2.so
+
+.include <bsd.port.post.mk>
Index: distinfo
===================================================================
--- distinfo	(revision 332719)
+++ distinfo	(working copy)
@@ -1,2 +1,2 @@
-SHA256 (re2-20120226.tar.gz) = be43ca5ec691b55b1ccaa3ffa91bf84a24f52bc0190fc0154d90d7b64d495897
-SIZE (re2-20120226.tar.gz) = 409176
+SHA256 (re2-20131024.tgz) = 4cbf7a98e79ba0c3f83b865049bcf3c6d60593b1a7accb60e8e10745a97cd62b
+SIZE (re2-20131024.tgz) = 1030145
Index: pkg-descr
===================================================================
--- pkg-descr	(revision 332719)
+++ pkg-descr	(working copy)
@@ -8,4 +8,4 @@
 expressions it must process; thus RE2 is useful in multithreaded environments
 where thread stacks cannot grow arbitrarily large.
 
-WWW:	http://code.google.com/p/re2/
+WWW: http://code.google.com/p/re2/
Index: pkg-plist
===================================================================
--- pkg-plist	(revision 332719)
+++ pkg-plist	(working copy)
@@ -1,10 +1,10 @@
 include/re2/filtered_re2.h
 include/re2/re2.h
+include/re2/set.h
 include/re2/stringpiece.h
 include/re2/variadic_function.h
-include/re2/set.h
+lib/libre2.a
 lib/libre2.so
 lib/libre2.so.0
-lib/libre2.a
 lib/libre2.so.0.0.0
 @dirrm include/re2
--- re2-20131024.patch ends here ---

>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-ports-bugs->jlaffaye 
Responsible-Changed-By: edwin 
Responsible-Changed-When: Mon Nov 4 14:00:07 UTC 2013 
Responsible-Changed-Why:  
Over to maintainer (via the GNATS Auto Assign Tool) 

http://www.freebsd.org/cgi/query-pr.cgi?pr=183661 
State-Changed-From-To: open->closed 
State-Changed-By: jlaffaye 
State-Changed-When: Sat Nov 16 20:33:39 CET 2013 
State-Changed-Why:  
Committed. Thanks! 

http://www.freebsd.org/cgi/query-pr.cgi?pr=183661 

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: ports/183661: commit references a PR
Date: Sat, 16 Nov 2013 19:33:01 +0000 (UTC)

 Author: jlaffaye
 Date: Sat Nov 16 19:32:53 2013
 New Revision: 334024
 URL: http://svnweb.freebsd.org/changeset/ports/334024
 
 Log:
   - Update to 20131024
   - Fix build with clang and libc++
   - Remove leading indefinite article from COMMENT
   - Respect CXXFLAGS
   - Strip shared library
   - Support STAGEDIR
   - Sort PLIST
   - Use single space after WWW:
   
   PR:		ports/183661
   Submitted by:	sunpoet
 
 Modified:
   head/devel/re2/Makefile   (contents, props changed)
   head/devel/re2/distinfo   (contents, props changed)
   head/devel/re2/pkg-descr   (contents, props changed)
   head/devel/re2/pkg-plist   (contents, props changed)
 
 Modified: head/devel/re2/Makefile
 ==============================================================================
 --- head/devel/re2/Makefile	Sat Nov 16 19:26:33 2013	(r334023)
 +++ head/devel/re2/Makefile	Sat Nov 16 19:32:53 2013	(r334024)
 @@ -2,19 +2,31 @@
  # $FreeBSD$
  
  PORTNAME=	re2
 -PORTVERSION=	20120226
 +PORTVERSION=	20131024
  CATEGORIES=	devel
 -MASTER_SITES=	LOCAL/jlaffaye
 +MASTER_SITES=	GOOGLE_CODE
 +EXTRACT_SUFX=	.tgz
  
  MAINTAINER=	jlaffaye@FreeBSD.org
 -COMMENT=	A fast C++ regex library
 +COMMENT=	Fast C++ regex library
  
  LICENSE=	BSD
  
 +MAKE_ARGS=	CXX="${CXX}" CXXFLAGS="${CXXFLAGS}" prefix=${PREFIX}
  USE_LDCONFIG=	yes
 -USE_GMAKE=	yes
 -MAKE_ENV=	prefix=${PREFIX}
 -MAKE_ARGS+=	-e
 +USES=		compiler:c++11-lang gmake
  
 -NO_STAGE=	yes
 -.include <bsd.port.mk>
 +WRKSRC=		${WRKDIR}/${PORTNAME}
 +
 +.include <bsd.port.pre.mk>
 +
 +post-patch:
 +# remove tr1 if using libc++
 +.if ${COMPILER_FEATURES:Mlibc++}
 +	@${REINPLACE_CMD} -e 's|tr1/||; s|tr1::||' ${WRKSRC}/util/util.h
 +.endif
 +
 +post-build:
 +	@${STRIP_CMD} ${WRKSRC}/obj/so/libre2.so
 +
 +.include <bsd.port.post.mk>
 
 Modified: head/devel/re2/distinfo
 ==============================================================================
 --- head/devel/re2/distinfo	Sat Nov 16 19:26:33 2013	(r334023)
 +++ head/devel/re2/distinfo	Sat Nov 16 19:32:53 2013	(r334024)
 @@ -1,2 +1,2 @@
 -SHA256 (re2-20120226.tar.gz) = be43ca5ec691b55b1ccaa3ffa91bf84a24f52bc0190fc0154d90d7b64d495897
 -SIZE (re2-20120226.tar.gz) = 409176
 +SHA256 (re2-20131024.tgz) = 4cbf7a98e79ba0c3f83b865049bcf3c6d60593b1a7accb60e8e10745a97cd62b
 +SIZE (re2-20131024.tgz) = 1030145
 
 Modified: head/devel/re2/pkg-descr
 ==============================================================================
 --- head/devel/re2/pkg-descr	Sat Nov 16 19:26:33 2013	(r334023)
 +++ head/devel/re2/pkg-descr	Sat Nov 16 19:32:53 2013	(r334024)
 @@ -8,4 +8,4 @@ use a small fixed C++ stack footprint no
  expressions it must process; thus RE2 is useful in multithreaded environments
  where thread stacks cannot grow arbitrarily large.
  
 -WWW:	http://code.google.com/p/re2/
 +WWW: http://code.google.com/p/re2/
 
 Modified: head/devel/re2/pkg-plist
 ==============================================================================
 --- head/devel/re2/pkg-plist	Sat Nov 16 19:26:33 2013	(r334023)
 +++ head/devel/re2/pkg-plist	Sat Nov 16 19:32:53 2013	(r334024)
 @@ -1,10 +1,10 @@
  include/re2/filtered_re2.h
  include/re2/re2.h
 +include/re2/set.h
  include/re2/stringpiece.h
  include/re2/variadic_function.h
 -include/re2/set.h
 +lib/libre2.a
  lib/libre2.so
  lib/libre2.so.0
 -lib/libre2.a
  lib/libre2.so.0.0.0
  @dirrm include/re2
 _______________________________________________
 svn-ports-all@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/svn-ports-all
 To unsubscribe, send any mail to "svn-ports-all-unsubscribe@freebsd.org"
 
>Unformatted:
