[Bug 262569] security/tpm2-tss should depend on base openssl

From: <bugzilla-noreply_at_freebsd.org>
Date: Tue, 15 Mar 2022 11:58:35 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=262569

            Bug ID: 262569
           Summary: security/tpm2-tss should depend on base openssl
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: ports-bugs@FreeBSD.org
          Reporter: junchoon@dec.sakura.ne.jp

With ports git d4c9792fda7f, security/tpm2-tss depends on ports openssl.
This conflicts with lang/rust and so on.

According to build error with reverting LIB_DEPEND part, the requirement seems
to be >= 1.1.0, and at least base main, stable/13, and stable/12 has 1.1.1.
So security/tpm2-tss should sanely detect base one instead of ports
security/openssl.


=== Error log when reverting LIB_DEPENDS part ===

 (snip)

checking for CRYPTO... no
configure: error: OpenSSL libcrypto is missing or version requirements not met.
OpenSSL version must be >= 1.1.0
===>  Script "configure" failed unexpectedly.
Please report the problem to tstruk@gmail.com [maintainer] and attach the
"/usr/ports/security/tpm2-tss/work/tpm2-tss-3.2.0/config.log" including the
output of the failure of your make command. Also, it might be a good idea to
provide an overview of all packages installed on your system (e.g. a
/usr/local/sbin/pkg-static info -g -Ea).
*** Error code 1

Stop.
make: stopped in /usr/ports/security/tpm2-tss

--- Comment #1 from Bugzilla Automation <bugzilla@FreeBSD.org> ---
Maintainer informed via mail

-- 
You are receiving this mail because:
You are the assignee for the bug.