From 19a72ebde4a4a3a711761a3cd3ede29295ac70ff Mon Sep 17 00:00:00 2001 From: ache Date: Tue, 30 Sep 2003 19:25:42 +0000 Subject: Add WITHOUT_MNOGO_THREADS knob --- www/mnogosearch/Makefile | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'www/mnogosearch') 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 -- cgit