ports/165278: [MAINTAINER] textproc/apertium: fix build with new pcre
Mykola Dzham
i at levsha.me
Sat Feb 18 21:40:06 UTC 2012
>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:
More information about the freebsd-ports-bugs
mailing list