MFH: r483042 r483384

Unbreak the build against newer versions of OpenSSL where they had removed
SSLeay() from libcrypto so configure test for it now fails.  Check against
ERR_get_error() instead.

PR:	232550

- Remove BROKEN_SSL line (should've been part of r483042)
- Cleanup options block a bit and use our standard LANG_HE
  option for Hebrew language support

Approved by:	ports-secteam (riggs)
This commit is contained in:
Thomas Zander 2018-11-24 18:45:56 +00:00
parent 8adee75d7c
commit 077d4dc8ee
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/branches/2018Q4/; revision=485780

View File

@ -31,27 +31,26 @@ DATADIR= ${PREFIX}/share/bx
MAKE_JOBS_UNSAFE= yes
OPTIONS_DEFINE= DOCS HEBREW IPV6 LATIN PLUGINS SSL TOGGLES
OPTIONS_DEFINE= DOCS LANG_HE IPV6 LATIN PLUGINS SSL TOGGLES
OPTIONS_DEFAULT= PLUGINS SSL
LATIN_DESC= Recommended for ISO-8859-1 display
PLUGINS_DESC= Build a handful of BitchX plugins
HEBREW_DESC= Add support for hebrew language
TOGGLES_DESC= Disable annoyance toggles
OPTIONS_DEFAULT= PLUGINS SSL
IPV6_CONFIGURE_ENABLE= ipv6
SSL_CONFIGURE_WITH= ssl
SSL_USES= ssl
SSL_VARS= BROKEN_SSL=openssl-devel
PLUGINS_CONFIGURE_WITH= plugins="${PLUGIN_LIST:C/\$$/,/g}"
PLUGINS_CONFIGURE_WITH= plugins="${PLUGIN_LIST:C/\$$/,/g}"
PLUGIN_LIST= abot acro arcfour autocycle blowfish cavlink cdrom encrypt \
europa fserv hint nap nicklist pkga possum qbx qmail wavplay
post-patch:
${REINPLACE_CMD} -e 's|bzip2|true|g' ${WRKSRC}/Makefile.in
${REINPLACE_CMD} -e 's|SSLeay|ERR_get_error|' ${WRKSRC}/configure
post-patch-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
@ -61,7 +60,7 @@ post-patch-LATIN-on:
${REINPLACE_CMD} -e 's|#undef LATIN1|#define LATIN1|' \
${WRKSRC}/include/config.h
post-patch-HEBREW-on:
post-patch-LANG_HE-on:
${REINPLACE_CMD} -e 's|#undef WANT_HEBREW|#define WANT_HEBREW|' \
${WRKSRC}/include/config.h