Bug 183661 - [PATCH] devel/re2: update to 20131024
Summary: [PATCH] devel/re2: update to 20131024
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Julien Laffaye
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-11-04 14:00 UTC by Po-Chuan Hsieh
Modified: 2013-11-16 19:40 UTC (History)
1 user (show)

See Also:


Attachments
re2-20131024.patch (2.13 KB, patch)
2013-11-04 14:00 UTC, Po-Chuan Hsieh
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Po-Chuan Hsieh freebsd_committer freebsd_triage 2013-11-04 14:00:00 UTC
- 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)
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2013-11-04 14:00:07 UTC
Responsible Changed
From-To: freebsd-ports-bugs->jlaffaye

Over to maintainer (via the GNATS Auto Assign Tool)
Comment 2 dfilter service freebsd_committer freebsd_triage 2013-11-16 19:33:01 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"
Comment 3 Julien Laffaye freebsd_committer freebsd_triage 2013-11-16 19:33:39 UTC
State Changed
From-To: open->closed

Committed. Thanks!