Skip to content

Commit

Permalink
openssl3: do not build tests by default
Browse files Browse the repository at this point in the history
  • Loading branch information
barracuda156 committed Sep 27, 2024
1 parent 73a1377 commit dd2290c
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions devel/openssl3/Portfile
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,7 @@ configure.cmd ./Configure
configure.pre_args --prefix=${my_prefix}
configure.args -L${prefix}/lib \
--openssldir=${my_prefix}/etc/openssl \
no-tests \
shared \
zlib

Expand Down Expand Up @@ -142,9 +143,6 @@ if {(${configure.build_arch} eq "i386") || (${universal_possible} && [variant_is
configure.args-append -DBROKEN_CLANG_ATOMICS
}

test.run yes
test.target-append HARNESS_JOBS=${build.jobs}

pre-destroot {
if {[variant_exists universal] && [variant_isset universal]} {
global merger_dont_diff
Expand Down Expand Up @@ -184,6 +182,13 @@ variant fips description {enable FIPS} {
configure.args-append enable-fips
}

variant tests description {enable tests} {
configure.args-delete no-tests

test.run yes
test.target-append HARNESS_JOBS=${build.jobs}
}

variant legacy description {enable legacy providers by default} {
# See https://trac.macports.org/ticket/63857 for context
post-destroot {
Expand Down

0 comments on commit dd2290c

Please sign in to comment.