From 2ed03a4bc0c259121c60d845862d84c3db306836 Mon Sep 17 00:00:00 2001 From: ache 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