aboutsummaryrefslogtreecommitdiffstats
path: root/www/mnogosearch
diff options
context:
space:
mode:
authorache <ache@FreeBSD.org>2003-10-01 03:25:42 +0800
committerache <ache@FreeBSD.org>2003-10-01 03:25:42 +0800
commit19a72ebde4a4a3a711761a3cd3ede29295ac70ff (patch)
tree393fd9c7cee34db9b1e98fc212dcee5cd79a1603 /www/mnogosearch
parent25dfad68fbf7daec7a1fadf50a99183b0c07c65d (diff)
downloadfreebsd-ports-gnome-19a72ebde4a4a3a711761a3cd3ede29295ac70ff.tar.gz
freebsd-ports-gnome-19a72ebde4a4a3a711761a3cd3ede29295ac70ff.tar.zst
freebsd-ports-gnome-19a72ebde4a4a3a711761a3cd3ede29295ac70ff.zip
Add WITHOUT_MNOGO_THREADS knob
Diffstat (limited to 'www/mnogosearch')
-rw-r--r--www/mnogosearch/Makefile6
1 files changed, 4 insertions, 2 deletions
diff --git a/www/mnogosearch/Makefile b/www/mnogosearch/Makefile
index 0d7b4bf88610..0f5729a78a37 100644
--- a/www/mnogosearch/Makefile
+++ b/www/mnogosearch/Makefile
@@ -20,14 +20,16 @@ MAN5= indexer.conf.5
USE_LIBTOOL= yes
INSTALLS_SHLIB= yes
USE_GMAKE= yes
-CONFIGURE_ARGS= --enable-phrase \
+CONFIGURE_ARGS+=--enable-phrase \
--enable-shared \
- --enable-freebsd-pthreads \
--sysconfdir=${PREFIX}/etc/mnogosearch \
--localstatedir=/var/mnogosearch
+.if !defined(WITHOUT_MNOGO_THREADS)
+CONFIGURE_ARGS+= --enable-freebsd-pthreads
CFLAGS+= ${PTHREAD_CFLAGS}
CONFIGURE_ENV= LIBS="${PTHREAD_LIBS}"
+.endif
RUN_DEPENDS+= ${LOCALBASE}/etc/apache/httpd.conf:${PORTSDIR}/www/apache13