From d81bd92f61fa03506ed872ecc8e73866558a3b7a Mon Sep 17 00:00:00 2001 From: Carlo Landmeter Date: Fri, 4 Jan 2013 17:17:49 +0100 Subject: main/abuild: add support for eglibc --- main/abuild/APKBUILD | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'main/abuild/APKBUILD') diff --git a/main/abuild/APKBUILD b/main/abuild/APKBUILD index 09c8a41371..0f1a666a29 100644 --- a/main/abuild/APKBUILD +++ b/main/abuild/APKBUILD @@ -5,8 +5,13 @@ pkgver=2.13.1 _ver=${pkgver%_git*} pkgrel=0 url=http://git.alpinelinux.org/cgit/abuild/ -depends="fakeroot file sudo pax-utils openssl apk-tools>=2.0.7-r1 uclibc-utils +depends="fakeroot file sudo pax-utils openssl apk-tools>=2.0.7-r1 abuildhelper curl" +if [ $ALPINE_LIBC = "eglibc" ]; then + depends="$depends eglibc-utils" +else + depends="$depends uclibc-utils" +fi makedepends="openssl-dev pkgconfig" install="$pkgname.pre-install $pkgname.pre-upgrade" subpackages="apkbuild-cpan:cpan" -- cgit v1.2.3