I apologize in advance if this is a daft question, but it's driving me nuts.
I am trying to get Despotify sorted out, and rather than take the time to study the un-commented source and update it to use Openssl3, I'd rather just tell it to use Openssl 1.0.x. Obviously macports has an Openssl10 port available which I've installed.
I added the following to despotify Portfile:
Code:
PortGroup openssl 1.0
PortGroup LegacySupport 1.0
depends_build port:openssl10
depends_lib port:openssl10 \
path:lib/openssl-1.0/libssl.dylib:openssl
I don't get any errors, however every time I go to build this somehow Openssl3 pops up and starts writing environment variables! I don't see any references at all to openssl3 in the Portfile nor do I see any in the patch files; does anyone know why it's getting invoked?
For context, I'm seeing this every time when trying to build (I want openssl 1 vars, not openssl3):
Code:
DEBUG: Running callback openssl::set_openssl_dependency
DEBUG: openssl: Set OpenSSL Branch dependency 3
DEBUG: Finished running callback openssl::set_openssl_dependency
DEBUG: Running callback openssl::check_for_cmake
DEBUG: Finished running callback openssl::check_for_cmake
DEBUG: Running callback openssl::configure_build
DEBUG: openssl: Configure Types 'env_vars pkgconfig build_flags' Branch 3
DEBUG: openssl: -> Setting openssl environment variable configuration
DEBUG: openssl: -> Will append OPENSSLDIR=/opt/local/libexec/openssl3 to extract.env
DEBUG: openssl: -> Will append OPENSSLDIR=/opt/local/libexec/openssl3 to configure.env
DEBUG: openssl: -> Will append OPENSSLDIR=/opt/local/libexec/openssl3 to build.env
DEBUG: openssl: -> Will append OPENSSLDIR=/opt/local/libexec/openssl3 to destroot.env
DEBUG: openssl: -> Will append OPENSSLDIR=/opt/local/libexec/openssl3 to test.env
DEBUG: openssl: -> Will append OPENSSL_DIR=/opt/local/libexec/openssl3 to extract.env
DEBUG: openssl: -> Will append OPENSSL_DIR=/opt/local/libexec/openssl3 to configure.env
DEBUG: openssl: -> Will append OPENSSL_DIR=/opt/local/libexec/openssl3 to build.env
DEBUG: openssl: -> Will append OPENSSL_DIR=/opt/local/libexec/openssl3 to destroot.env
DEBUG: openssl: -> Will append OPENSSL_DIR=/opt/local/libexec/openssl3 to test.env
Obviously I could manually go in and fix all this, but I'd much rather do it correctly (and then maybe we could even get a shiny new port in our Macports PPC collection!)