From 159d37d98e9579119ef8bb90fb981d03b0da75de Mon Sep 17 00:00:00 2001 From: Carlo Landmeter Date: Sun, 14 Aug 2016 01:39:25 +0000 Subject: main/xdm: build fix aarch64 --- main/xdm/APKBUILD | 16 ++++++---------- 1 file changed, 6 insertions(+), 10 deletions(-) (limited to 'main/xdm/APKBUILD') diff --git a/main/xdm/APKBUILD b/main/xdm/APKBUILD index b9755f4c1b..907b0d6c5d 100644 --- a/main/xdm/APKBUILD +++ b/main/xdm/APKBUILD @@ -21,19 +21,15 @@ source=" alpinelinux_white_blue.xpm " -_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 \ --sysconfdir=/etc \ @@ -48,7 +44,7 @@ build() { } package() { - cd "$_builddir" + cd "$builddir" make DESTDIR="$pkgdir" install || return 1 -- cgit v1.2.3