From 2916052d9a6bdd9ecfe8e8b5ea2593ae5bf692a5 Mon Sep 17 00:00:00 2001 From: "Andrey A. Chernov" Date: Wed, 24 Sep 2003 12:23:26 +0000 Subject: Teach PTHREADS --- www/mnogosearch31/Makefile | 5 ++++- www/mnogosearch31/files/patch-ad | 13 +++++++++++++ 2 files changed, 17 insertions(+), 1 deletion(-) create mode 100644 www/mnogosearch31/files/patch-ad (limited to 'www/mnogosearch31') diff --git a/www/mnogosearch31/Makefile b/www/mnogosearch31/Makefile index eef5655b8439..0d7b4bf88610 100644 --- a/www/mnogosearch31/Makefile +++ b/www/mnogosearch31/Makefile @@ -7,7 +7,7 @@ PORTNAME= mnogosearch PORTVERSION= 3.1.20 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= www databases MASTER_SITES= http://www.mnogosearch.org/Download/ @@ -26,6 +26,9 @@ CONFIGURE_ARGS= --enable-phrase \ --sysconfdir=${PREFIX}/etc/mnogosearch \ --localstatedir=/var/mnogosearch +CFLAGS+= ${PTHREAD_CFLAGS} +CONFIGURE_ENV= LIBS="${PTHREAD_LIBS}" + RUN_DEPENDS+= ${LOCALBASE}/etc/apache/httpd.conf:${PORTSDIR}/www/apache13 .ifndef NO_OPENSSL diff --git a/www/mnogosearch31/files/patch-ad b/www/mnogosearch31/files/patch-ad new file mode 100644 index 000000000000..e798af64758c --- /dev/null +++ b/www/mnogosearch31/files/patch-ad @@ -0,0 +1,13 @@ +--- configure.bak Thu Jun 27 14:20:21 2002 ++++ configure Wed Sep 24 09:40:31 2003 +@@ -3247,8 +3247,8 @@ + EOF + + echo "$ac_t""enabled" 1>&6 +- PTHREAD_CFLAGS="-pthread" +- PTHREAD_LFLAGS="-pthread" ++# PTHREAD_CFLAGS="-pthread" ++# PTHREAD_LFLAGS="-pthread" + else + echo "$ac_t""disabled" 1>&6 + fi -- cgit v1.2.3