commit c3e8d77b9378825b67bafbce4cdca0853d89d1b3
parent a554a1dd3041360f2a19a962ced7130143d162e2
Author: Hannu Nyman <hannu.nyman@iki.fi>
Date: Wed, 9 Nov 2016 09:39:46 +0200
Merge pull request #3499 from commodo/fix-python-dns
python-dns: add python-setuptools as dependency (fixes build)
Diffstat:
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/lang/python-dns/Makefile b/lang/python-dns/Makefile
@@ -8,7 +8,7 @@
include $(TOPDIR)/rules.mk
PKG_NAME:=python-dns
-PKG_RELEASE:=1
+PKG_RELEASE:=2
PKG_VERSION:=1.15.0
PKG_SOURCE_URL:=http://www.dnspython.org/kits/$(PKG_VERSION)
PKG_MD5SUM:=63a679089822fb86127867c315286dc5
@@ -18,6 +18,8 @@ PKG_LICENSE:=ISC
PKG_LICENSE_FILES:=LICENSE
PKG_BUILD_DIR:=$(BUILD_DIR)/dnspython-$(PKG_VERSION)
+PKG_BUILD_DEPENDS:=python-setuptools/host
+
include $(INCLUDE_DIR)/package.mk
$(call include_mk, python-package.mk)
@@ -36,7 +38,7 @@ endef
define Build/Compile
$(call Build/Compile/PyMod,,\
- install --prefix="$(PKG_INSTALL_DIR)/usr" \
+ install --prefix=/usr --root="$(PKG_INSTALL_DIR)" \
)
endef