Skip to content

Commit

Permalink
www/nginx-devel: fix build with a third-party passenger module
Browse files Browse the repository at this point in the history
Bump PORTREVISION.

PR:	275161
  • Loading branch information
osokin committed Dec 1, 2023
1 parent 996b407 commit 397e97b
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion www/nginx-devel/Makefile
@@ -1,6 +1,6 @@
PORTNAME?= nginx
PORTVERSION= 1.25.3
PORTREVISION= 1
PORTREVISION= 2
CATEGORIES= www
MASTER_SITES= https://nginx.org/download/ \
LOCAL/osa
Expand Down Expand Up @@ -237,6 +237,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
Expand Down

0 comments on commit 397e97b

Please sign in to comment.