[MacPorts] #64540: py310-re2 @1.0.7_0: build failure on macos-10.6.8

MacPorts noreply at macports.org
Thu Jan 27 13:11:35 UTC 2022


#64540: py310-re2 @1.0.7_0: build failure on macos-10.6.8
--------------------------+------------------------------
  Reporter:  macportsraf  |      Owner:  (none)
      Type:  defect       |     Status:  new
  Priority:  Normal       |  Milestone:
 Component:  ports        |    Version:  2.7.1
Resolution:               |   Keywords:  snowleopard lion
      Port:  py-re2 re2   |
--------------------------+------------------------------

Comment (by evanmiller):

 It looks like the 10.6 SDK defines {{{TARGET_OS_MAC}}} instead of
 {{{TARGET_OS_OSX}}}:

 https://github.com/phracker/MacOSX-
 SDKs/blob/master/MacOSX10.6.sdk/usr/include/TargetConditionals.h#L88

 {{{legacysupport}}} works around this:

 https://github.com/macports/macports-legacy-
 support/blob/master/include/TargetConditionals.h

 So I'd suggest adding

 {{{
 PortGroup legacysupport 1.1
 legacysupport.newest_darwin_requires_legacy 11
 }}}

 to the Portfile.

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


More information about the macports-tickets mailing list