diff options
| author | Jochen Neumeister <joneum@FreeBSD.org> | 2023-12-03 07:51:41 +0000 |
|---|---|---|
| committer | Koichiro Iwao <meta@FreeBSD.org> | 2023-12-03 09:57:04 +0000 |
| commit | 8848573087ff210c5383adcd899b055c50467fb4 (patch) | |
| tree | 3c02961f258fe5351a5e14a4c94a676f443eec92 | |
| parent | e7405313ea7aa68b99aee7cde8bf33bb6fc713d1 (diff) | |
www/nginx: fix build with a third-party passenger module
PR: 275161
Sponsored by: Netzkommune GmbH
This commit is required to complete PR 275161. The fix for
www/nginx-devel is not necessary at the moment.
(cherry picked from commit b31426d1f77c12e47a60ff4b6b663826afd4702f)
| -rw-r--r-- | www/nginx/Makefile | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/www/nginx/Makefile b/www/nginx/Makefile index be56e8b593c4..d037ba99710a 100644 --- a/www/nginx/Makefile +++ b/www/nginx/Makefile @@ -1,6 +1,6 @@ PORTNAME= nginx PORTVERSION= 1.24.0 -PORTREVISION?= 12 +PORTREVISION?= 13 PORTEPOCH= 3 CATEGORIES= www MASTER_SITES= https://nginx.org/download/ \ @@ -240,6 +240,10 @@ CONFIGURE_ENV+= OPTIMIZE="yes" CFLAGS+= -DNDEBUG .endif +.if ${PORT_OPTIONS:MPASSENGER} +CONFIGURE_ENV+= EXTRA_PRE_CXXFLAGS="-std=c++14" +.endif + # Fix build failure on clang >= 12 .if ${PORT_OPTIONS:MHTTP_PERL} && ${OSVERSION} >= 1301000 CFLAGS+= -Wno-compound-token-split-by-macro |
