openbsd-ports/net/poco/patches/patch-Foundation_Makefile
sthen 2f154b4f8c Fix net/poco following the pcre update (broken for 2 weeks) by using
a patch from Gentoo.

While there clean up Makefile a bit (mixed whitespace format ugliness) and
simplify a patch (just use upstream's existing sysconf code, rather than
workaround the unportable use of sysctlbyname).
2013-03-19 23:13:50 +00:00

20 lines
750 B
Plaintext

$OpenBSD: patch-Foundation_Makefile,v 1.2 2013/03/19 23:13:50 sthen Exp $
http://sources.gentoo.org/cgi-bin/viewvc.cgi/gentoo-x86/dev-libs/poco/files/poco-1.4.4-patch-for-libpcre-8.32.patch
we do not want to mix system pcre with bundled pcre, but we have to,
as poco uses internal interfaces.
--- Foundation/Makefile.orig Thu Dec 16 05:43:25 2010
+++ Foundation/Makefile Tue Mar 19 22:18:41 2013
@@ -43,8 +43,8 @@ pcre_objects = pcre_chartables pcre_compile pcre_globa
pcre_utf8_objects = pcre_ucd pcre_tables
ifdef POCO_UNBUNDLED
- objects += $(pcre_utf8_objects)
+ objects += $(pcre_utf8_objects) # unicode.cpp uses internal pcre tables
SYSLIBS += -lpcre -lz
else
objects += $(zlib_objects) $(pcre_objects) $(pcre_utf8_objects)
endif