aboutsummaryrefslogtreecommitdiffstats
path: root/main/python
diff options
context:
space:
mode:
authorSören Tempel <soeren+git@soeren-tempel.net>2015-09-15 22:44:19 +0200
committerFrancesco Colista <fcolista@alpinelinux.org>2015-09-17 07:43:35 +0000
commitaa2844ca797408121eef54b5fd23f9c54a11ae9f (patch)
tree72e9827e0a072592dc15e1f6d94b69207656230f /main/python
parent8c1f1cc5a63a0b6e7f2237e35ab47322427ea7e5 (diff)
downloadaports-aa2844ca797408121eef54b5fd23f9c54a11ae9f.tar.bz2
aports-aa2844ca797408121eef54b5fd23f9c54a11ae9f.tar.xz
main/python: depend on linux-headers
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
Diffstat (limited to 'main/python')
-rw-r--r--main/python/APKBUILD10
1 files changed, 4 insertions, 6 deletions
diff --git a/main/python/APKBUILD b/main/python/APKBUILD
index 9f78590b16..e00bd85a07 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"