lede-packages-rs

git clone git://archive.git.mtrnord.blog/MTRNord/lede-packages-rs.git
Log | Files | Refs | README | LICENSE

commit 5351a1c740f72e9e52d8c9343e3f1e9a547dcf86
parent 8829ae3de6dc62fce6c6eaa5d03bdd210ebceaba
Author: Hannu Nyman <hannu.nyman@iki.fi>
Date:   Thu, 10 Dec 2015 22:53:52 +0200

Merge pull request #2061 from commodo/python-psycopg2-fix

python-psycopg2: fix build
Diffstat:
Mlang/python-psycopg2/Makefile | 9+++++----
1 file changed, 5 insertions(+), 4 deletions(-)

diff --git a/lang/python-psycopg2/Makefile b/lang/python-psycopg2/Makefile @@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=python-psycopg2 PKG_VERSION:=2.6.1 -PKG_RELEASE:=1 +PKG_RELEASE:=2 PKG_MAINTAINER:=Dmitry Trefilov <the-alien@live.ru> PKG_LICENSE:=LGPL-3.0+ PKG_LICENSE_FILES:=LICENSE @@ -39,9 +39,10 @@ define Package/python-psycopg2/description endef define Build/Compile - $(call Build/Compile/PyMod,.,build_py) - $(call Build/Compile/PyMod,,build_ext --pg-config="$(STAGING_DIR)/usr/bin/pg_config") - $(call Build/Compile/PyMod,.,install --prefix=/usr --root=$(PKG_INSTALL_DIR)) + # The PATH var is required so that psycopg2's setup.py script finds pg_config + $(call Build/Compile/PyMod,., \ + install --prefix=/usr --root=$(PKG_INSTALL_DIR), \ + PATH=$(STAGING_DIR)/usr/bin:$(PATH)) endef define Package/python-psycopg2/install