Mail archive
alpine-aports

[alpine-aports] [PATCH] main/python: depend on linux-headers

From: Sören Tempel <soeren+git_at_soeren-tempel.net>
Date: Tue, 15 Sep 2015 22:44:19 +0200

Without installing linux-headers a bunch of linux specific features are
disabled during compile time. An example of this is netlink(7) support.
With this commit netlink and (possibly) other features are detected and
enabled at compile time correctly.

fixes #4451
---
 main/python/APKBUILD | 10 ++++------
 1 file changed, 4 insertions(+), 6 deletions(-)
diff --git a/main/python/APKBUILD b/main/python/APKBUILD
index 9f78590..e00bd85 100644
--- a/main/python/APKBUILD
+++ b/main/python/APKBUILD
_at_@ -2,22 +2,20 @@
 pkgname=python
 pkgver=2.7.10
 _verbase=${pkgver%.*}
-pkgrel=1
+pkgrel=2
 pkgdesc="A high-level scripting language"
 url="http://www.python.org"
 arch="all"
 license="custom"
 replaces="python-dev"
 subpackages="$pkgname-dev $pkgname-doc $pkgname-tests
-	py-gdbm:gdbm
-	"
+	py-gdbm:gdbm"
 depends=""
 makedepends="expat-dev openssl-dev zlib-dev ncurses-dev bzip2-dev
-	gdbm-dev sqlite-dev libffi-dev readline-dev paxmark"
+	gdbm-dev sqlite-dev libffi-dev readline-dev linux-headers paxmark"
 source="http://www.$pkgname.org/ftp/$pkgname/$pkgver/Python-$pkgver.tar.xz
 	musl-find_library.patch
-	unchecked-ioctl.patch
-	"
+	unchecked-ioctl.patch"
 
 prepare() {
 	cd "$srcdir/Python-$pkgver"
-- 
2.5.2
---
Unsubscribe:  alpine-aports+unsubscribe_at_lists.alpinelinux.org
Help:         alpine-aports+help_at_lists.alpinelinux.org
---
Received on Tue Sep 15 2015 - 22:44:19 GMT