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:
parent
afa06c0f4a
commit
b90aea061c
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=142729
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user