aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2010-05-04 11:20:29 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2010-05-04 11:20:29 +0000
commite54eeddbe2b67353779d48f8b05381e9f8eb9d2e (patch)
tree4bf562833f1549c6c18c827eca6f80f035c32441
parent6d8633ca413095aeddceb7e4802a6d7724e92f8c (diff)
downloadaports-e54eeddbe2b67353779d48f8b05381e9f8eb9d2e.tar.bz2
aports-e54eeddbe2b67353779d48f8b05381e9f8eb9d2e.tar.xz
main/libc0.9.32: build fix
need run pregen without parallel first also cleaned up some leftovers from cross tools testing
-rw-r--r--main/libc0.9.32/APKBUILD7
1 files changed, 4 insertions, 3 deletions
diff --git a/main/libc0.9.32/APKBUILD b/main/libc0.9.32/APKBUILD
index 253a731851..7ef67dd26e 100644
--- a/main/libc0.9.32/APKBUILD
+++ b/main/libc0.9.32/APKBUILD
@@ -55,8 +55,9 @@ build() {
_kh=KERNEL_HEADERS="$SYSROOT/include"
fi
cp "$_config" .config
- sleep 1
make silentoldconfig
+ make -j1 pregen KERNEL_HEADERS="$SYSROOT"/usr/include \
+ CROSS="$CROSS" || return 1
make all KERNEL_HEADERS="$SYSROOT/usr/include" CROSS="$CROSS" || return 1
make utils CROSS="$CROSS" || return 1
}
@@ -65,9 +66,9 @@ package() {
cd "$_builddir"
make DESTDIR="$pkgdir" KERNEL_HEADERS="$SYSROOT/usr/include" \
CROSS="$CROSS" install install_utils
- install -Dm755 extra/scripts/getent "$_p"/usr/bin/getent
+ install -Dm755 extra/scripts/getent "$pkgdir"/usr/bin/getent
# provided by linux-headers
- rm -f "$_p"/usr/include/scsi/scsi.h
+ rm -f "$ppkgdir"/usr/include/scsi/scsi.h
}
dev() {