aboutsummaryrefslogtreecommitdiffstats
path: root/www/mnogosearch31
diff options
context:
space:
mode:
authorache <ache@FreeBSD.org>2003-09-24 20:23:26 +0800
committerache <ache@FreeBSD.org>2003-09-24 20:23:26 +0800
commit2ed03a4bc0c259121c60d845862d84c3db306836 (patch)
tree67849069c99379aed37afa2073907bc73ca72bb5 /www/mnogosearch31
parentd884388a02bc594e93832b615b21b7c10567cc8b (diff)
downloadfreebsd-ports-gnome-2ed03a4bc0c259121c60d845862d84c3db306836.tar.gz
freebsd-ports-gnome-2ed03a4bc0c259121c60d845862d84c3db306836.tar.zst
freebsd-ports-gnome-2ed03a4bc0c259121c60d845862d84c3db306836.zip
Teach PTHREADS
Diffstat (limited to 'www/mnogosearch31')
-rw-r--r--www/mnogosearch31/Makefile5
-rw-r--r--www/mnogosearch31/files/patch-ad13
2 files changed, 17 insertions, 1 deletions
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