components/fetchmail/Makefile
changeset 1259 68c7d53a1374
parent 1175 3b79e6aa942a
child 1948 2d1537e7942d
--- a/components/fetchmail/Makefile	Thu Apr 11 10:40:20 2013 -0700
+++ b/components/fetchmail/Makefile	Thu Apr 11 10:50:53 2013 -0700
@@ -45,14 +45,21 @@
 CONFIGURE_OPTIONS  +=		--with-ssl
 CONFIGURE_OPTIONS  +=		--enable-NTLM
 
+# We don't have any .so files, so we want to ship the .py and .pyc files in
+# the same place as we would for 32-bit.
+PYTHON_VENDOR_PACKAGES.64 =	$(PYTHON_VENDOR_PACKAGES.32)
+
 ASLR_MODE = $(ASLR_ENABLE)
 
+COMPONENT_POST_INSTALL_ACTION = \
+    $(PYTHON) -m compileall $(PROTO_DIR)/$(PYTHON_VENDOR_PACKAGES)
+
 # common targets
-build:		$(BUILD_32)
+build:		$(BUILD_64)
 
-install:	$(INSTALL_32)
+install:	$(INSTALL_64)
 
-test:		$(TEST_32)
+test:		$(TEST_64)
 
 BUILD_PKG_DEPENDENCIES =	$(BUILD_TOOLS)