Opened 12 years ago

Last modified 12 years ago

#35672 closed defect

py27-mx-base fails to compile — at Initial Version

Reported by: jamie@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 2.1.2
Keywords: haspatch Cc:
Port: py27-mx-base

Description

On Mountain Lion, py27-mx-base fails to compile due to an incorrect location for the "customize_compiler" call. The line:

from distutils.ccompiler import customize_compiler

fails, as in the current configuration it should be:

from distutils.sysconfig import customize_compiler

For the record, this is the version of py27-mx-base that fails to compile:

py27-mx-base @3.2.1 python/py27-mx-base

The latest version of egenix-mx-base (3.2.4) fixes this bug, so I would suggest that updating the port to the latest version would be the easiest fix. I attach a modified Portfile, which I have verifies builds fine on my ML/MacPorts 2.1.2 system.

Change History (1)

Changed 12 years ago by jamie@…

Attachment: Portfile added
Note: See TracTickets for help on using tickets.