From: Andy Boyett Date: Wed, 18 Jun 2008 07:24:22 +0000 (+0000) Subject: [packages] numpy: Fix python tweak in last commit X-Git-Url: http://git.openwrt.org/?p=openwrt%2Fsvn-archive%2Farchive.git;a=commitdiff_plain;h=ec162865f22443e8731570eb6950db6c77b0265d;hp=db9e3153f966486486e9c153b1f9f3c70a74fd01 [packages] numpy: Fix python tweak in last commit - $(STAGING_DIR) points to $(TOPDIR)/staging_dir/$(ARCH) not $(TOPDIR)/staging_dir SVN-Revision: 11532 --- diff --git a/lang/numpy/Makefile b/lang/numpy/Makefile index b8f3e246ac..4179f0ac5a 100644 --- a/lang/numpy/Makefile +++ b/lang/numpy/Makefile @@ -30,7 +30,7 @@ define Package/numpy/description endef define Build/Compile - cd $(PKG_BUILD_DIR) ; $(CONFIGURE_VARS) $(MAKE_VARS) $(STAGING_DIR)/i386/host/bin/python ./setup.py install --prefix="$(PKG_INSTALL_DIR)/usr" + cd $(PKG_BUILD_DIR) ; $(CONFIGURE_VARS) $(MAKE_VARS) $(STAGING_DIR)/host/bin/python ./setup.py install --prefix="$(PKG_INSTALL_DIR)/usr" sed -i "s/UCS4/UCS2/g" $(PKG_INSTALL_DIR)/usr/lib/python2.5/site-packages/numpy/core/multiarray.so endef