git: db361432b40a - main - www/obhttpd: skip detection of <endian.h>
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Thu, 09 Mar 2023 20:29:48 UTC
The branch main has been updated by naddy:
URL: https://cgit.FreeBSD.org/ports/commit/?id=db361432b40a37fe237c248c5444512629009f81
commit db361432b40a37fe237c248c5444512629009f81
Author: Christian Weisgerber <naddy@FreeBSD.org>
AuthorDate: 2023-03-07 20:21:53 +0000
Commit: Christian Weisgerber <naddy@FreeBSD.org>
CommitDate: 2023-03-09 20:29:14 +0000
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)
---
www/obhttpd/Makefile | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/www/obhttpd/Makefile b/www/obhttpd/Makefile
index 7746b05cea83..3bb48a5e8d45 100644
--- a/www/obhttpd/Makefile
+++ b/www/obhttpd/Makefile
@@ -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})