From owner-svn-ports-all@FreeBSD.ORG Thu Dec 26 13:16:35 2013 Return-Path: Delivered-To: svn-ports-all@freebsd.org 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 ESMTPS id 80862960; Thu, 26 Dec 2013 13:16:35 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 6C5221F82; Thu, 26 Dec 2013 13:16:35 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.7/8.14.7) with ESMTP id rBQDGZav091196; Thu, 26 Dec 2013 13:16:35 GMT (envelope-from mat@svn.freebsd.org) Received: (from mat@localhost) by svn.freebsd.org (8.14.7/8.14.7/Submit) id rBQDGYfE091192; Thu, 26 Dec 2013 13:16:34 GMT (envelope-from mat@svn.freebsd.org) Message-Id: <201312261316.rBQDGYfE091192@svn.freebsd.org> From: Mathieu Arnold Date: Thu, 26 Dec 2013 13:16:34 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-branches@freebsd.org Subject: svn commit: r337505 - in branches/2014Q1/devel/regexx: . files X-SVN-Group: ports-branches 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.17 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: Thu, 26 Dec 2013 13:16:35 -0000 Author: mat Date: Thu Dec 26 13:16:34 2013 New Revision: 337505 URL: http://svnweb.freebsd.org/changeset/ports/337505 Log: MFH: r337440 - Fix build on -current - Depend on pcre from ports instead of bundled one - Strip library file PR: ports/184229 Submitted by: KATO Tsuguru Approved by: portmgr (implicit) Added: branches/2014Q1/devel/regexx/files/patch-src__Makefile.in - copied unchanged from r337440, head/devel/regexx/files/patch-src__Makefile.in branches/2014Q1/devel/regexx/files/patch-src__regexx.hh - copied unchanged from r337440, head/devel/regexx/files/patch-src__regexx.hh Deleted: branches/2014Q1/devel/regexx/files/patch-libtool22 Modified: branches/2014Q1/devel/regexx/Makefile (contents, props changed) Directory Properties: branches/2014Q1/ (props changed) Modified: branches/2014Q1/devel/regexx/Makefile ============================================================================== --- branches/2014Q1/devel/regexx/Makefile Thu Dec 26 13:16:24 2013 (r337504) +++ branches/2014Q1/devel/regexx/Makefile Thu Dec 26 13:16:34 2013 (r337505) @@ -3,27 +3,31 @@ PORTNAME= regexx PORTVERSION= 0.98.1 -PORTREVISION= 3 +PORTREVISION= 4 CATEGORIES= devel MASTER_SITES= SF MAINTAINER= ports@FreeBSD.org -COMMENT= A complete regular expressions C++ solution +COMMENT= Complete regular expressions C++ solution -USE_GMAKE= yes +LICENSE= LGPL21 + +LIB_DEPENDS= libpcre.so:${PORTSDIR}/devel/pcre + +USES= gmake pkgconfig USE_AUTOTOOLS= libtool +MAKE_ARGS= ACLOCAL="${TRUE}" AUTOCONF="${TRUE}" AUTOHEADER="${TRUE}" \ + AUTOMAKE="${TRUE}" USE_LDCONFIG= yes -MAKE_ENV+= INCLUDES="-I${WRKSRC}/pcre" -NO_STAGE= yes +CPPFLAGS+= $$(pkg-config --cflags libpcre) +LDFLAGS+= $$(pkg-config --libs libpcre) + post-patch: - @${REINPLACE_CMD} -e 's|@LIBTOOL@|${LIBTOOL}|g ; \ - s| \./libtool|${LIBTOOL}|g ; \ - s|\(DEFS.*\)|\1 -I${LOCALBASE}/include|' \ - ${WRKSRC}/src/Makefile.in ${WRKSRC}/pcre/Makefile.in - @${REINPLACE_CMD} -e 's|$${CONFIG_SHELL-/bin/sh} $$ac_aux_dir|$$ac_aux_dir|' \ - ${WRKSRC}/configure - @${REINPLACE_CMD} -e 's| examples||g' \ - ${WRKSRC}/Makefile.am + @${REINPLACE_CMD} -e \ + 's|"pcre"||' ${WRKSRC}/configure + +post-install: + @${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libregexx.so.2 .include Copied: branches/2014Q1/devel/regexx/files/patch-src__Makefile.in (from r337440, head/devel/regexx/files/patch-src__Makefile.in) ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ branches/2014Q1/devel/regexx/files/patch-src__Makefile.in Thu Dec 26 13:16:34 2013 (r337505, copy of r337440, head/devel/regexx/files/patch-src__Makefile.in) @@ -0,0 +1,11 @@ +--- src/Makefile.in.orig 2013-11-15 21:03:55.000000000 +0900 ++++ src/Makefile.in 2013-11-15 21:04:18.000000000 +0900 +@@ -74,7 +74,7 @@ + + lib_LTLIBRARIES = libregexx.la + libregexx_la_SOURCES = regexx.cc regexx.hh split.cc split.hh +-libregexx_la_LDFLAGS = -version-info 2:0:1 ../pcre/maketables.lo ../pcre/get.lo ../pcre/study.lo ../pcre/pcre.lo ++libregexx_la_LDFLAGS = -version-info 2:0:1 + include_HEADERS = regexx.hh split.hh + mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs + CONFIG_CLEAN_FILES = Copied: branches/2014Q1/devel/regexx/files/patch-src__regexx.hh (from r337440, head/devel/regexx/files/patch-src__regexx.hh) ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ branches/2014Q1/devel/regexx/files/patch-src__regexx.hh Thu Dec 26 13:16:34 2013 (r337505, copy of r337440, head/devel/regexx/files/patch-src__regexx.hh) @@ -0,0 +1,10 @@ +--- src/regexx.hh.orig 2013-11-15 21:02:42.000000000 +0900 ++++ src/regexx.hh 2013-11-15 21:03:03.000000000 +0900 +@@ -29,6 +29,7 @@ + #ifndef REGEXX_HH + #define REGEXX_HH + ++#include + #include + #include + #include