From owner-freebsd-ports-bugs@FreeBSD.ORG Sat Feb 18 21:40:06 2012 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3FAA9106564A for ; Sat, 18 Feb 2012 21:40:06 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 145A18FC12 for ; Sat, 18 Feb 2012 21:40:06 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.5/8.14.5) with ESMTP id q1ILe5Iv088226 for ; Sat, 18 Feb 2012 21:40:05 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.5/8.14.5/Submit) id q1ILe5qg088225; Sat, 18 Feb 2012 21:40:05 GMT (envelope-from gnats) Resent-Date: Sat, 18 Feb 2012 21:40:05 GMT Resent-Message-Id: <201202182140.q1ILe5qg088225@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Mykola Dzham Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C9B41106564A for ; Sat, 18 Feb 2012 21:36:37 +0000 (UTC) (envelope-from i@levsha.me) Received: from expo.ukrweb.net (mail.univua.net [91.202.128.78]) by mx1.freebsd.org (Postfix) with ESMTP id 794F08FC16 for ; Sat, 18 Feb 2012 21:36:37 +0000 (UTC) Received: from [178.94.94.70] (helo=laptop.levsha.me) by expo.ukrweb.net with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.77 (FreeBSD)) (envelope-from ) id 1Ryraf-000CpQ-IM for FreeBSD-gnats-submit@freebsd.org; Sat, 18 Feb 2012 23:13:12 +0200 Received: from levsha by laptop.levsha.me with local (Exim 4.77 (FreeBSD)) (envelope-from ) id 1RyraX-000Ahj-8P for FreeBSD-gnats-submit@freebsd.org; Sat, 18 Feb 2012 23:13:01 +0200 Message-Id: Date: Sat, 18 Feb 2012 23:13:01 +0200 From: Mykola Dzham Sender: Mykola Dzham To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Cc: Subject: ports/165278: [MAINTAINER] textproc/apertium: fix build with new pcre X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 18 Feb 2012 21:40:06 -0000 >Number: 165278 >Category: ports >Synopsis: [MAINTAINER] textproc/apertium: fix build with new pcre >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: maintainer-update >Submitter-Id: current-users >Arrival-Date: Sat Feb 18 21:40:05 UTC 2012 >Closed-Date: >Last-Modified: >Originator: Mykola Dzham >Release: FreeBSD 10.0-CURRENT amd64 >Organization: >Environment: System: FreeBSD laptop.levsha.me 10.0-CURRENT FreeBSD 10.0-CURRENT #44 r231819M: Thu Feb 16 15:52:05 EET >Description: Fix building with new pcre. Added file(s): - files/patch-configure.ac Generated with FreeBSD Port Tools 0.99 >How-To-Repeat: >Fix: --- apertium-3.2.0.patch begins here --- ? .git Index: Makefile =================================================================== RCS file: /zdata/arch/csup/ports/textproc/apertium/Makefile,v retrieving revision 1.5 diff -u -r1.5 Makefile --- Makefile 23 Sep 2011 22:25:39 -0000 1.5 +++ Makefile 18 Feb 2012 21:11:44 -0000 @@ -25,6 +25,7 @@ MAKE_JOBS_UNSAFE= yes +USE_AUTOTOOLS= autoconf GNU_CONFIGURE= yes CPPFLAGS+= -I${LOCALBASE}/include LDFLAGS+= -L${LOCALBASE}/lib Index: files/patch-configure.ac =================================================================== RCS file: files/patch-configure.ac diff -N files/patch-configure.ac --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ files/patch-configure.ac 18 Feb 2012 21:11:44 -0000 @@ -0,0 +1,20 @@ +--- ./configure.ac.orig 2010-03-14 17:14:34.000000000 +0200 ++++ ./configure.ac 2012-02-18 19:09:23.000000000 +0200 +@@ -184,10 +184,13 @@ + if test x$(uname) != xDarwin; + then + AC_CHECK_HEADER(pcreposix.h, +- AC_CHECK_LIB(pcre, pcre_info,[ +- LIBS="$LIBS -lpcreposix -lpcre" +- no_comp_check=yes], +- AC_MSG_ERROR([*** unable to locate pcre library ***])), ++ AC_CHECK_LIB(pcre, pcre_fullinfo,[ ++ LIBS="$LIBS -lpcreposix -lpcre" ++ no_comp_check=yes], ++ AC_CHECK_LIB(pcre, pcre_info,[ dnl info is deprecated in favor of fullinfo, but leave it in case old versions don't have fullinfo ++ LIBS="$LIBS -lpcreposix -lpcre" ++ no_comp_check=yes], ++ AC_MSG_ERROR([*** unable to locate pcre library ***]))), + AC_MSG_ERROR([*** unable to locate pcreposix.h include file ***])) + + AC_CHECK_HEADER(pcrecpp.h, --- apertium-3.2.0.patch ends here --- >Release-Note: >Audit-Trail: >Unformatted: