[packages] add package 'seeks' - thanks to Obinou
[openwrt/svn-archive/archive.git] / net / seeks / patches / 200-add_pcre_headers_to_plugins.patch
1 diff -rU5 seeks-0.3.3/src/plugins/blocker/Makefile.am seeks-0.3.3-new/src/plugins/blocker/Makefile.am
2 --- seeks-0.3.3/src/plugins/blocker/Makefile.am 2010-12-05 09:33:05.000000000 +0100
3 +++ seeks-0.3.3-new/src/plugins/blocker/Makefile.am 2011-05-24 01:13:09.994085964 +0200
4 @@ -4,11 +4,11 @@
5 blockerplugindatadir = $(datadir)/seeks/plugins/blocker
6
7 AM_CXXFLAGS=-Wall -g -pipe
8 AM_CPPFLAGS= -I${srcdir} -I${srcdir}/../../utils -I${srcdir}/../../proxy -I${srcdir}/../../lsh \
9 -DSEEKS_CONFIGDIR='"$(sysconfdir)/seeks/"' `pkg-config --cflags protobuf` `pkg-config --cflags tokyocabinet` \
10 - -I../../proxy
11 + -I../../proxy @PCRE_CFLAGS@
12 ACLOCAL_AMFLAGS=-I m4
13
14 blockerpluginlib_LTLIBRARIES=libblockerplugin.la
15 libblockerplugin_la_SOURCES=blocker.cpp blocker.h
16
17 diff -rU5 seeks-0.3.3/src/plugins/httpserv/Makefile.am seeks-0.3.3-new/src/plugins/httpserv/Makefile.am
18 --- seeks-0.3.3/src/plugins/httpserv/Makefile.am 2011-02-18 15:44:02.000000000 +0100
19 +++ seeks-0.3.3-new/src/plugins/httpserv/Makefile.am 2011-05-24 01:27:13.413787987 +0200
20 @@ -4,11 +4,11 @@
21 httpservplugindatadir = $(datadir)/seeks/plugins/httpserv
22
23
24 AM_CPPFLAGS=-Wno-deprecated -Wall -g -pipe \
25 -I${srcdir} -I${srcdir}/../websearch -I${srcdir}/../../utils -I${srcdir}/../../lsh -I${srcdir}/../../proxy \
26 - -I${srcdir}/../../dht
27 + -I${srcdir}/../../dht @PCRE_CFLAGS@
28
29
30 if HAVE_TC
31 if HAVE_PROTOBUF
32 AM_CPPFLAGS+=-I${srcdir}/../query_capture -I${srcdir}/../cf `pkg-config --cflags protobuf` `pkg-config --cflags tokyocabinet`