summaryrefslogtreecommitdiff
path: root/www/mnogosearch31/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'www/mnogosearch31/Makefile')
-rw-r--r--www/mnogosearch31/Makefile6
1 files changed, 4 insertions, 2 deletions
diff --git a/www/mnogosearch31/Makefile b/www/mnogosearch31/Makefile
index 0d7b4bf88610..0f5729a78a37 100644
--- a/www/mnogosearch31/Makefile
+++ b/www/mnogosearch31/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