diff -rupN Python-2.7.1/Mac/Makefile.in Python-2.7.1-fix/Mac/Makefile.in --- Python-2.7.1/Mac/Makefile.in 2011-02-18 23:46:57.000000000 -0500 +++ Python-2.7.1-fix/Mac/Makefile.in 2011-02-19 01:13:29.000000000 -0500 @@ -66,6 +66,7 @@ endif # Install unix tools in /usr/local/bin. These are just aliases for the # actual installation inside the framework. # +# The ifneq block is a patch to handle -32 versions installunixtools: if [ ! -d "$(DESTDIR)$(FRAMEWORKUNIXTOOLSPREFIX)/bin" ]; then \ $(INSTALL) -d -m $(DIRMODE) "$(DESTDIR)$(FRAMEWORKUNIXTOOLSPREFIX)/bin" ;\ @@ -77,6 +78,13 @@ installunixtools: do \ ln -fs "$(prefix)/bin/$${fn}" "$(DESTDIR)$(FRAMEWORKUNIXTOOLSPREFIX)/bin/$${fn}" ;\ done +ifneq ($(LIPO_32BIT_FLAGS),) + for fn in python-32 pythonw-32 \ + python$(VERSION)-32 pythonw$(VERSION)-32 ;\ + do \ + ln -fs "$(prefix)/bin/$${fn}" "$(DESTDIR)$(FRAMEWORKUNIXTOOLSPREFIX)/bin/$${fn}" ;\ + done +endif #