From 0db7adbec441439ae1e79ae77bfcf001ff98159d Mon Sep 17 00:00:00 2001 From: "Andrey A. Chernov" Date: Tue, 30 Sep 2003 19:25:42 +0000 Subject: Add WITHOUT_MNOGO_THREADS knob --- www/mnogosearch31/Makefile | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'www/mnogosearch31') 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 -- cgit v1.2.3