diff options
author | Carlo Landmeter <clandmeter@gmail.com> | 2016-08-14 01:39:25 +0000 |
---|---|---|
committer | Carlo Landmeter <clandmeter@gmail.com> | 2016-08-14 01:39:25 +0000 |
commit | 159d37d98e9579119ef8bb90fb981d03b0da75de (patch) | |
tree | 1cde51984e674593ed11ce222837c6611bc3d7d1 /main/xdm/APKBUILD | |
parent | 5b00ac0a27e63a59724057c7980f49f3a4e4377d (diff) | |
download | aports-159d37d98e9579119ef8bb90fb981d03b0da75de.tar.bz2 aports-159d37d98e9579119ef8bb90fb981d03b0da75de.tar.xz |
main/xdm: build fix aarch64
Diffstat (limited to 'main/xdm/APKBUILD')
-rw-r--r-- | main/xdm/APKBUILD | 16 |
1 files changed, 6 insertions, 10 deletions
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 |