summaryrefslogtreecommitdiffstats
path: root/main
diff options
context:
space:
mode:
authorCarlo Landmeter <clandmeter@gmail.com>2010-09-18 21:15:27 +0000
committerCarlo Landmeter <clandmeter@gmail.com>2010-09-20 23:04:24 +0000
commit729073e0d5cb8dc14327672efe8f1018f9c31205 (patch)
tree9f80c3cf9afbd016e834f857be381f95e8cc7eb7 /main
parent89504be2bc540bfbce3d1d7c69ced34ad56ccf88 (diff)
downloadaports-729073e0d5cb8dc14327672efe8f1018f9c31205.tar.bz2
aports-729073e0d5cb8dc14327672efe8f1018f9c31205.tar.xz
main/linux-headers: make headers eglibc aware
(cherry picked from commit 332567ba26c2b2bcf9fd9508a88b78fb2214fb88)
Diffstat (limited to 'main')
-rw-r--r--main/linux-headers/APKBUILD8
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