[Bug 274013] security/tpm2-tools: 5.5 version fails to build if devel/openssl is installed

From: <bugzilla-noreply_at_freebsd.org>
Date: Fri, 29 Sep 2023 06:10:07 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=274013

John Hein <jcfyecrayz@liamekaens.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jcfyecrayz@liamekaens.com,
                   |                            |lwhsu@FreeBSD.org
 Attachment #245318|                            |maintainer-approval?(lwhsu@
              Flags|                            |FreeBSD.org)

--- Comment #5 from John Hein <jcfyecrayz@liamekaens.com> ---
Created attachment 245318
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=245318&action=edit
[patch] fix lib path used for crypto checks during configure

Attached is a bug fix that works if security/openssl is installed (or not).

If someone has DEFAULT_VERSIONS=ssl:openssl it will now check the lib in
/usr/local during configure.  Similarly if using DEFAULT_VERSIONS=ssl:base, it
looks in /usr/lib during configure.

No need to bump PORTREVISION - the package will not change if it has been
successfully built.  This just fixes a build failure that was not producing a
package.

Verified in poudriere with DEFAULT_VERSIONS=ssl:openssl and also with
DEFAULT_VERSIONS=ssl:base.

Requested maintainer approval from last committer.  Maintainer does not appear
to have a bugzilla account.  I will add a comment in the review.

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