diff options
author | Carlo Landmeter <clandmeter@gmail.com> | 2010-09-18 21:15:27 +0000 |
---|---|---|
committer | Carlo Landmeter <clandmeter@gmail.com> | 2010-09-20 23:04:24 +0000 |
commit | 729073e0d5cb8dc14327672efe8f1018f9c31205 (patch) | |
tree | 9f80c3cf9afbd016e834f857be381f95e8cc7eb7 /main/linux-headers/APKBUILD | |
parent | 89504be2bc540bfbce3d1d7c69ced34ad56ccf88 (diff) | |
download | aports-729073e0d5cb8dc14327672efe8f1018f9c31205.tar.bz2 aports-729073e0d5cb8dc14327672efe8f1018f9c31205.tar.xz |
main/linux-headers: make headers eglibc aware
(cherry picked from commit 332567ba26c2b2bcf9fd9508a88b78fb2214fb88)
Diffstat (limited to 'main/linux-headers/APKBUILD')
-rw-r--r-- | main/linux-headers/APKBUILD | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/main/linux-headers/APKBUILD b/main/linux-headers/APKBUILD index 272d63ce0..d4db2d3d3 100644 --- a/main/linux-headers/APKBUILD +++ b/main/linux-headers/APKBUILD @@ -2,12 +2,16 @@ pkgname=linux-headers pkgver=2.6.32.2 _kernver=2.6.32 -pkgrel=2 +pkgrel=3 pkgdesc="Linux system headers" url="http://kernel.org" license='GPL-2' makedepends="perl" -replaces="uclibc-dev" +if [ "$ALPINE_LIBC" = "eglibc" ]; then + replaces="eglibc-dev" +else + replaces="uclibc-dev" +fi options="!strip !tracedeps" source="ftp://ftp.kernel.org/pub/linux/kernel/v2.6/linux-$_kernver.tar.bz2 ftp://ftp.kernel.org/pub/linux/kernel/v2.6/patch-$pkgver.bz2 |