[MacPorts] #52043: python27 @2.7.12_1 fails to build +universal on Sierra; prevents installation of wine

MacPorts noreply at macports.org
Thu Sep 15 22:17:25 CEST 2016


#52043: python27 @2.7.12_1 fails to build +universal on Sierra; prevents
installation of wine
-------------------------------------------------+-------------------------
  Reporter:  chris@…                             |      Owner:  jwa@…
      Type:  defect                              |     Status:  new
  Priority:  High                                |  Milestone:
 Component:  ports                               |    Version:  2.3.4
Resolution:                                      |   Keywords:  sierra
      Port:  python27, wine, wine-devel, wine-   |  haspatch
  crossover                                      |
-------------------------------------------------+-------------------------

Comment (by jeremyhu@…):

 AvailabilityMacros.h is super deprecated and should not be used by
 anything current.  Availability.h was added as replacement in 10.5.

 `__MAC_OS_X_VERSION_MAX_ALLOWED` should be checked instead of `defined
 (DEPRECATED_IN_MAC_OS_X_VERSION_10_12_AND_LATER)`

 They should really have a central config and use that instead.  Eg:

 {{{
 #include <Availability.h>
 #define APPLE_SUPPORTS_QUICKTIME (__MAC_OS_X_VERSION_MAX_ALLOWED < 101200)
 || !__LP64__
 }}}

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


More information about the macports-tickets mailing list