aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCraig Leres <leres@FreeBSD.org>2021-10-08 16:29:37 +0000
committerCraig Leres <leres@FreeBSD.org>2021-10-08 16:29:37 +0000
commit923567274a0367bc5a67c568c882017eef629b2c (patch)
tree12019b928ab68ef1e0b5fad7116a81e0684e3a86
parent46ed8da916a0b6ae1eecd597d079adeb2099a5ae (diff)
downloadports-923567274a0367bc5a67c568c882017eef629b2c.tar.gz
ports-923567274a0367bc5a67c568c882017eef629b2c.zip
security/suricata: Respect CC
PR: 258294 Reported by: Evgeniy Khramtsov Approved by: Franco Fichtner (maintainer)
-rw-r--r--security/suricata/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/security/suricata/Makefile b/security/suricata/Makefile
index 18ee36286733..09b34da27b17 100644
--- a/security/suricata/Makefile
+++ b/security/suricata/Makefile
@@ -1,6 +1,6 @@
PORTNAME= suricata
DISTVERSION= 6.0.3
-PORTREVISION= 2
+PORTREVISION= 3
CATEGORIES= security
MASTER_SITES= https://www.openinfosecfoundation.org/download/
@@ -29,6 +29,7 @@ GNU_CONFIGURE= yes
CONFIGURE_ARGS+=--enable-gccprotect \
--enable-bundled-htp \
--disable-gccmarch-native
+MAKE_ENV= RUSTFLAGS="${RUSTFLAGS} -C linker=${CC:Q} ${LDFLAGS:C/.+/-C link-arg=&/}"
INSTALL_TARGET= install-strip
TEST_TARGET= check