git: 408b2a2d6052 - main - www/mod_auth_mysql2: Unbreak on HEAD
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 02 May 2023 16:32:35 UTC
The branch main has been updated by bofh:
URL: https://cgit.FreeBSD.org/ports/commit/?id=408b2a2d6052242991f217c1622264eb7aada7a6
commit 408b2a2d6052242991f217c1622264eb7aada7a6
Author: Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2023-05-02 15:06:22 +0000
Commit: Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2023-05-02 16:32:25 +0000
www/mod_auth_mysql2: Unbreak on HEAD
Approved by: portmgr (blanket)
---
www/mod_auth_mysql2/Makefile | 8 +++++++-
1 file changed, 7 insertions(+), 1 deletion(-)
diff --git a/www/mod_auth_mysql2/Makefile b/www/mod_auth_mysql2/Makefile
index ac9a1590a7fc..e5adb7be31ac 100644
--- a/www/mod_auth_mysql2/Makefile
+++ b/www/mod_auth_mysql2/Makefile
@@ -26,8 +26,14 @@ OPTIONS_DEFINE= DOCS OPENSSL
OPENSSL_USES= ssl
OPENSSL_VARS= AP_EXTRAS+=-DMYSQL_USE_SSL
+.include <bsd.port.pre.mk>
+
+.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400079
+AP_EXTRAS+= '-Wc, -Wno-error=int-conversion'
+.endif
+
post-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>