From 4ae55f56d7841219a62737942a7329cf7f54484e Mon Sep 17 00:00:00 2001 From: Carlo Landmeter Date: Sat, 20 Aug 2016 10:55:33 +0000 Subject: community/libdbi-drivers: build fix aarch64 --- community/libdbi-drivers/APKBUILD | 16 ++++++---------- 1 file changed, 6 insertions(+), 10 deletions(-) (limited to 'community/libdbi-drivers') diff --git a/community/libdbi-drivers/APKBUILD b/community/libdbi-drivers/APKBUILD index b64ebfaf4e..90678c76ca 100644 --- a/community/libdbi-drivers/APKBUILD +++ b/community/libdbi-drivers/APKBUILD @@ -16,19 +16,15 @@ subpackages="" options="libtool" source="http://downloads.sourceforge.net/${pkgname}/${pkgname}/${pkgname}-${pkgver}/${pkgname}-${pkgver}.tar.gz" -_builddir=${srcdir}/${pkgname}-${pkgver} +builddir=${srcdir}/${pkgname}-${pkgver} + prepare() { - local i - cd "$_builddir" - for i in $source; do - case $i in - *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; - esac - done + default_prepare || return 1 + update_config_guess || return 1 } build() { - cd "$_builddir" + cd "$builddir" ./configure --prefix=/usr \ --localstatedir=/usr \ --with-mysql \ @@ -40,7 +36,7 @@ build() { } package() { - cd "$_builddir" + cd "$builddir" make DESTDIR="$pkgdir" install || return 1 chmod -R o-w "$pkgdir"/usr/lib/libdbi } -- cgit v1.2.3