Give compileall a -d option so it works correctly in the face of
DESTDIR being non-null.
diff --git a/Mac/OSX/Makefile b/Mac/OSX/Makefile
index 5dcb42d..5720069 100644
--- a/Mac/OSX/Makefile
+++ b/Mac/OSX/Makefile
@@ -223,8 +223,8 @@
$(BUILDPYTHON) $(CACHERSRC) -v $(DESTDIR)$(MACLIBDEST) $(DESTDIR)$(MACTOOLSDEST)
- $(BUILDPYTHON) -Wi -tt $(compileall) -x badsyntax $(DESTDIR)$(MACTOOLSDEST)
- $(BUILDPYTHON) -O -Wi -tt $(compileall) -x badsyntax $(DESTDIR)$(MACTOOLSDEST)
+ $(BUILDPYTHON) -Wi -tt $(compileall) -d $(MACTOOLSDEST) -x badsyntax $(DESTDIR)$(MACTOOLSDEST)
+ $(BUILDPYTHON) -O -Wi -tt $(compileall) -d $(MACTOOLSDEST) -x badsyntax $(DESTDIR)$(MACTOOLSDEST)
#
# We use the full name here in stead of $(INSTALLED_PYTHONW), because