From b90aea061c33db559d3130109d0b60d0b1ca3226 Mon Sep 17 00:00:00 2001 From: Alexander Leidinger Date: Wed, 14 Sep 2005 18:02:02 +0000 Subject: Fix compile ("LOCALEDIR undeclared" error) for people which don't want openssl support. Noticed by: Piotr Smyrak Submitted by: marcus via Piotr Smyrak Tested by: Piotr Smyrak --- mail/claws-mail/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'mail/claws-mail/Makefile') diff --git a/mail/claws-mail/Makefile b/mail/claws-mail/Makefile index 5a8cb56fc69d..9e98ec8ce43a 100644 --- a/mail/claws-mail/Makefile +++ b/mail/claws-mail/Makefile @@ -43,8 +43,6 @@ CONFIGURE_ARGS= --program-suffix="-claws" --enable-ipv6 \ CONFIGURE_ENV= CFLAGS="${CFLAGS} ${PTHREAD_CFLAGS}" \ CPPFLAGS="${CPPFLAGS} -I${LOCALBASE}/include" \ LDFLAGS="-L${X11BASE}/lib -L${LOCALBASE}/lib" \ - OPENSSL_CFLAGS="-I${OPENSSLINC}" \ - OPENSSL_LIBS="-L${OPENSSLLIB} -lcrypto -lssl" \ LIBS="-L${LOCALBASE}/lib ${PTHREAD_LIBS}" OPTIONS= ALL "Enable all options." off \ @@ -71,6 +69,8 @@ EXTRA_PATCHES= ${FILESDIR}/extra-doc:Makefile.in .include "${PORTSDIR}/Mk/bsd.openssl.mk" CONFIGURE_ARGS+= --enable-openssl --with-openssl-includes=${OPENSSLINC} \ --with-openssl-libs=${OPENSSLLIB} +CONFIGURE_ENV+= OPENSSL_CFLAGS="-I${OPENSSLINC}" \ + OPENSSL_LIBS="-L${OPENSSLLIB} -lcrypto -lssl" .else CONFIGURE_ARGS+= --disable-openssl .endif -- cgit v1.2.3