[MacPorts] #67899: libstemmer: does not respect MACOSX_DEPLOYMENT_TARGET or SDKROOT

MacPorts noreply at macports.org
Thu Aug 3 18:54:11 UTC 2023


#67899: libstemmer: does not respect MACOSX_DEPLOYMENT_TARGET or SDKROOT
-------------------------+--------------------
  Reporter:  lukaso      |      Owner:  (none)
      Type:  defect      |     Status:  new
  Priority:  Normal      |  Milestone:
 Component:  ports       |    Version:
Resolution:              |   Keywords:
      Port:  libstemmer  |
-------------------------+--------------------

Comment (by ryandesign):

 Replying to [comment:1 lukaso]:
 > It needs something like:
 >
 > {{{
 > CFLAGS += -mmacosx-version-min=$MACOSX_DEPLOYMENT_TARGET
 > LDFLAGS += -Wl,-macosx_version_min,$MACOSX_DEPLOYMENT_TARGET
 > }}}
 >
 > being added to the GNUMakefile

 MacPorts automatically sets the `MACOSX_DEPLOYMENT_TARGET` environment
 variable to the correct value during all port phases which is sufficient
 unless the build system is deliberately overriding that elsewhere.

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


More information about the macports-tickets mailing list