www/obhttpd: skip detection of <endian.h>

This fixes a compilation error in the embedded LibreSSL, which was
triggered by the appearance of the new <endian.h> system header:
use of undeclared identifier 'BYTE_ORDER'

PR:		270015
Approved by:	koue@chaosophia.net (maintainer)
This commit is contained in:
Christian Weisgerber 2023-03-07 21:21:53 +01:00
parent a7d62be4b2
commit db361432b4

View file

@ -60,7 +60,7 @@ post-patch:
pre-configure:
@(cd ${WRKDIR} && ${EXTRACT_CMD} ${EXTRACT_BEFORE_ARGS} ${DISTDIR}/libressl-${SSL}.tar.gz ${EXTRACT_AFTER_ARGS})
@(${PATCH} -d ${WRKDIR}/libressl-${SSL} < ${PATCHDIR}/extra-patch-libressl_tls_tls.c)
@(cd ${WRKDIR}/libressl-${SSL} && ${SETENV} ./configure && ${SETENV} ${MAKE_ENV} ${MAKE})
@(cd ${WRKDIR}/libressl-${SSL} && ${SETENV} ac_cv_header_endian_h=no ./configure && ${SETENV} ${MAKE_ENV} ${MAKE})
@(cd ${WRKSRC_libimsg} && ${SETENV} ${MAKE_ENV} ${MAKE})
@(cd ${WRKSRC_libevent} && ${SETENV} ${MAKE_ENV} ${MAKE})