pkgsrc-WIP-changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
clamav: only set ALLOW_NETWORK_ACCESS if we're running 'make test'. From Roland Illig
Module Name: pkgsrc-wip
Committed By: Manuel Bouyer <bouyer%antioche.eu.org@localhost>
Pushed By: bouyer
Date: Sun Aug 24 18:28:40 2025 +0200
Changeset: 258b768850c79d20f348ace2f9b1338f8ea1e159
Modified Files:
clamav/options.mk
Log Message:
clamav: only set ALLOW_NETWORK_ACCESS if we're running 'make test'.
From Roland Illig
To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=258b768850c79d20f348ace2f9b1338f8ea1e159
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
diffstat:
clamav/options.mk | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diffs:
diff --git a/clamav/options.mk b/clamav/options.mk
index 7260607768..71aeec95ac 100644
--- a/clamav/options.mk
+++ b/clamav/options.mk
@@ -31,7 +31,9 @@ CMAKE_CONFIGURE_ARGS+= -DENABLE_EXPERIMENTAL=on
.if ${PKG_OPTIONS:Mclamav-unit-test}
CMAKE_CONFIGURE_ARGS+= -DENABLE_TESTS=on
TEST_TARGET= check
-ALLOW_NETWORK_ACCESS= yes
+.if make(test)
+ALLOW_NETWORK_ACCESS= yes
+.endif
BUILDLINK_DEPMETHOD.check= build
. include "../../devel/check/buildlink3.mk"
.endif
Home |
Main Index |
Thread Index |
Old Index