git: 3ac83ff429ce - main - www/nginx-devel: fix third-party modsecurity module build

From: Sergey A. Osokin <osa_at_FreeBSD.org>
Date: Fri, 20 Dec 2024 16:51:39 UTC
The branch main has been updated by osa:

URL: https://cgit.FreeBSD.org/ports/commit/?id=3ac83ff429ced4a4f9840796e39122e9a5a53702

commit 3ac83ff429ced4a4f9840796e39122e9a5a53702
Author:     Sergey A. Osokin <osa@FreeBSD.org>
AuthorDate: 2024-12-20 16:51:05 +0000
Commit:     Sergey A. Osokin <osa@FreeBSD.org>
CommitDate: 2024-12-20 16:51:35 +0000

    www/nginx-devel: fix third-party modsecurity module build
---
 www/nginx-devel/Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/www/nginx-devel/Makefile b/www/nginx-devel/Makefile
index 9c83b69d517d..e2e51ec52287 100644
--- a/www/nginx-devel/Makefile
+++ b/www/nginx-devel/Makefile
@@ -245,7 +245,7 @@ CFLAGS+=	-DNDEBUG
 CONFIGURE_ENV+=	EXTRA_PRE_CXXFLAGS="-std=c++14"
 .endif
 
-.if empty(PORT_OPTIONS:MMODSECURITY3)
+.if (PORT_OPTIONS:MMODSECURITY3)
 CONFIGURE_ARGS+=	--with-ld-opt="-L ${LOCALBASE}/lib -lpcre"
 LIB_DEPENDS+=		libpcre.so:devel/pcre
 .endif