From e21c18b2046294893217512f34d32de1dc9f6f4b Mon Sep 17 00:00:00 2001 From: ache Date: Sat, 9 Jun 2001 20:17:10 +0000 Subject: Sense openssl properly --- www/mnoGoSearch-current/Makefile | 9 ++++++++- www/mnogosearch/Makefile | 9 ++++++++- www/mnogosearch31/Makefile | 9 ++++++++- 3 files changed, 24 insertions(+), 3 deletions(-) diff --git a/www/mnoGoSearch-current/Makefile b/www/mnoGoSearch-current/Makefile index 9dd6b063b781..16216957f7d2 100644 --- a/www/mnoGoSearch-current/Makefile +++ b/www/mnoGoSearch-current/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 tag .if defined(WITH_MNOGO_GUESSER) 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 tag .if defined(WITH_MNOGO_GUESSER) diff --git a/www/mnogosearch31/Makefile b/www/mnogosearch31/Makefile index 9dd6b063b781..16216957f7d2 100644 --- a/www/mnogosearch31/Makefile +++ b/www/mnogosearch31/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 tag .if defined(WITH_MNOGO_GUESSER) -- cgit