#35672: py27-mx-base fails to compile ------------------------------+--------------------------------------------- Reporter: jamie@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: MacPorts Future Component: ports | Version: 2.1.2 Keywords: | Port: ------------------------------+--------------------------------------------- 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. -- Ticket URL: <https://trac.macports.org/ticket/35672> MacPorts <http://www.macports.org/> Ports system for Mac OS