From d8934547a5b4ba23c1dbb8a16bd391a2fca1aedf Mon Sep 17 00:00:00 2001 From: dingo Date: Fri, 12 Mar 2010 22:34:30 +0000 Subject: [PATCH] [patchteam] twisted fix for installing zope Signed off by alexander@sulfrian.net git-svn-id: svn://svn.openwrt.org/openwrt/packages@20169 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- lang/twisted/Makefile | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/lang/twisted/Makefile b/lang/twisted/Makefile index 418777354..2dd39421f 100644 --- a/lang/twisted/Makefile +++ b/lang/twisted/Makefile @@ -218,11 +218,17 @@ define Build/Compile $(call Build/Compile/PyMod,., \ install --prefix="$(PKG_INSTALL_DIR)/usr" --no-compile, \ TWISTED_SUBPROJECTS="$(TWISTED_SUBPROJECTS)" \ + PYTHONPATH="$(PKG_INSTALL_DIR)$(PYTHON_PKG_DIR)" \ ) $(call Build/Compile/PyMod,zope.interface-$(ZOPE_IF_VER), \ install --prefix="$(PKG_INSTALL_DIR)/usr" --no-compile, \ + PYTHONPATH="$(PKG_INSTALL_DIR)$(PYTHON_PKG_DIR)" \ ) $(SED) 's,#!$(PYTHON),#!/usr/bin/python,' $(PKG_INSTALL_DIR)/usr/bin/* + + $(CP) -a \ + $(PKG_INSTALL_DIR)$(PYTHON_PKG_DIR)/zope.interface-*.egg/zope \ + $(PKG_INSTALL_DIR)$(PYTHON_PKG_DIR)/ endef $(eval $(call PyPackage,twisted)) -- 2.11.0