summaryrefslogtreecommitdiff
path: root/www/mnogosearch
diff options
context:
space:
mode:
authorAndrey A. Chernov <ache@FreeBSD.org>2001-06-09 20:17:10 +0000
committerAndrey A. Chernov <ache@FreeBSD.org>2001-06-09 20:17:10 +0000
commit72202f1552acb8b689017a9d353b3f9ee57162d2 (patch)
treec155036137ec953644bc2ea1f750c6cd607ee0fb /www/mnogosearch
parentUpdate to version 1.4 Build 116 (diff)
Sense openssl properly
Notes
Notes: svn path=/head/; revision=43724
Diffstat (limited to 'www/mnogosearch')
-rw-r--r--www/mnogosearch/Makefile9
1 files changed, 8 insertions, 1 deletions
diff --git a/www/mnogosearch/Makefile b/www/mnogosearch/Makefile
index 9dd6b063b781..16216957f7d2 100644
--- a/www/mnogosearch/Makefile
+++ b/www/mnogosearch/Makefile
@@ -23,10 +23,17 @@ GNU_CONFIGURE= yes
CONFIGURE_ARGS= --enable-phrase \
--enable-shared \
--enable-freebsd-pthreads \
- --with-openssl \
--sysconfdir=${PREFIX}/etc/mnogosearch \
--localstatedir=/var/mnogosearch
+.ifndef NO_OPENSSL
+USE_OPENSSL= yes
+.endif
+
+.ifdef USE_OPENSSL
+CONFIGURE_ARGS+= --with-openssl=${OPENSSLBASE}
+.endif
+
# To enable Cyrillic charset guesser, define this
# Guesser mode ignores charsets comes from HTTP header or <META> tag
.if defined(WITH_MNOGO_GUESSER)