aboutsummaryrefslogtreecommitdiff
path: root/www/mnogosearch
diff options
context:
space:
mode:
Diffstat (limited to 'www/mnogosearch')
-rw-r--r--www/mnogosearch/Makefile5
-rw-r--r--www/mnogosearch/files/patch-ad13
2 files changed, 17 insertions, 1 deletions
diff --git a/www/mnogosearch/Makefile b/www/mnogosearch/Makefile
index eef5655b8439..0d7b4bf88610 100644
--- a/www/mnogosearch/Makefile
+++ b/www/mnogosearch/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/mnogosearch/files/patch-ad b/www/mnogosearch/files/patch-ad
new file mode 100644
index 000000000000..e798af64758c
--- /dev/null
+++ b/www/mnogosearch/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