[Bug 297615] security/wpa_supplicant: eapol_test build broken for SSL_DEFAULT!=base (fix included)

[email protected]
Newsgroups gmane.os.freebsd.devel.ports.bugs
Message-ID <[email protected]/bugzilla/>
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=297615

            Bug ID: 297615
           Summary: security/wpa_supplicant: eapol_test build broken for
                    SSL_DEFAULT!=base (fix included)
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: [email protected]
          Reporter: [email protected]
             Flags: maintainer-feedback?([email protected])
          Assignee: [email protected]

Created attachment 273843
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=273843&action=edit
Fix EAPOL_TEST build for SSL_DEFAULT!=base

The security/wpa_supplicant port (and likely also security/wpa_supplicant29,
security/wpa_supplicant210, and security/wpa_supplicant-devel by looking at
their Makefiles) contains a bug which results in specifically the eapol_test
binary being compiled against the headers from SSL_DEFAULT, but *linked*
against the libcrypto/libssl from the base system regardless of SSL_DEFAULT.

This is because by default, the "post-build" target does not set up the
environment variables that "do-build" target does.

In practice, the most likely scenario where this causes the build to fail is
when the EAPOL_TEST option is enabled and SSL_DEFAULT is set to a different TLS
library/version than the one used in the base system.

I've attached a patch that fixes the issue for me.

-- 
You are receiving this mail because:
You are the assignee for the bug.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.