Fix compile ("LOCALEDIR undeclared" error) for people which don't want

openssl support.

Noticed by:	Piotr Smyrak <piotr.smyrak@heron.pl>
Submitted by:	marcus via  Piotr Smyrak <piotr.smyrak@heron.pl>
Tested by:	Piotr Smyrak <piotr.smyrak@heron.pl>
This commit is contained in:
Alexander Leidinger 2005-09-14 18:02:02 +00:00
parent afa06c0f4a
commit b90aea061c
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=142729
2 changed files with 4 additions and 4 deletions

View File

@ -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

View File

@ -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