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

Sören Tempel
Details
Message ID
<1442349859-2238-1-git-send-email-soeren+git@soeren-tempel.net>
Sender timestamp
1442349859
DKIM signature
missing
Download raw message
Patch: +4 -6
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
@@ -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@lists.alpinelinux.org
Help:         alpine-aports+help@lists.alpinelinux.org
---