[MacPorts] #69947: openssl3 @3.2.1: does not respect minos or sdk settings on build

MacPorts noreply at macports.org
Tue May 14 05:21:11 UTC 2024


#69947: openssl3 @3.2.1: does not respect minos or sdk settings on build
-----------------------+----------------------
  Reporter:  lukaso    |      Owner:  larryv
      Type:  defect    |     Status:  assigned
  Priority:  Normal    |  Milestone:
 Component:  ports     |    Version:
Resolution:            |   Keywords:
      Port:  openssl3  |
-----------------------+----------------------

Comment (by ryandesign):

 I would guess the `minos` field would come from the deployment target that
 was actually used, which would be based on the `MACOSX_DEPLOYMENT_TARGET`
 environment variable which MacPorts automatically sets in all phases,
 unless the build system overrides that by using either the old
 `-macosx_version_min=` or the new `-macos_version_min=` flags.

 I would guess the `sdk` field would be set based on which SDK was actually
 used. MacPorts automatically passes `-isysroot` and `-syslibroot` flags to
 do that, unless this build is ignoring or overriding the MacPorts `CFLAGS`
 / `CPPFLAGS` / `CXXFLAGS` / `LDFLAGS` environment variables. MacPorts also
 sets the `SDKROOT` environment variable for projects that like to consume
 the SDK path that way. Some projects for example use `xcrun --show-sdk-
 path` to discover the SDK path, which will echo back `SDKROOT` if it is
 set to an SDK path that exists.

-- 
Ticket URL: <https://trac.macports.org/ticket/69947#comment:5>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list