Skip to content

Commit

Permalink
www/nginx: sync with upstream
Browse files Browse the repository at this point in the history
Taken from: FreeBSD
  • Loading branch information
fichtner committed Jan 2, 2024
1 parent bae3c99 commit bbd747a
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions www/nginx/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -151,6 +151,8 @@ HTTP_IMAGE_FILTER_VARS= DSO_BASEMODS+=http_image_filter_module
HTTP_MP4_CONFIGURE_ON= --with-http_mp4_module
HTTP_PERL_CATEGORIES= perl5
HTTP_PERL_USES= perl5
# Fix build failure on clang >= 12
HTTP_PERL_CFLAGS= -Wno-compound-token-split-by-macro
HTTP_PERL_VARS= DSO_BASEMODS+=http_perl_module
HTTP_RANDOM_INDEX_CONFIGURE_ON= --with-http_random_index_module
HTTP_REALIP_CONFIGURE_ON= --with-http_realip_module
Expand Down Expand Up @@ -244,11 +246,6 @@ CFLAGS+= -DNDEBUG
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
.endif

.if empty(PORT_OPTIONS:MLUA) && empty(PORT_OPTIONS:MMODSECURITY3) && \
empty(PORT_OPTIONS:MPASSENGER)
CONFIGURE_ARGS+= --with-ld-opt="-L ${LOCALBASE}/lib"
Expand Down

0 comments on commit bbd747a

Please sign in to comment.