Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 9 Mar 2023 20:29:48 GMT
From:      Christian Weisgerber <naddy@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: db361432b40a - main - www/obhttpd: skip detection of <endian.h>
Message-ID:  <202303092029.329KTm6V011951@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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})
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202303092029.329KTm6V011951>