aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCarlo Landmeter <clandmeter@gmail.com>2016-08-16 11:31:36 +0000
committerCarlo Landmeter <clandmeter@gmail.com>2016-08-16 11:31:42 +0000
commita29a8fe5b8420e76d0ad75cee3dd6609d6e97f79 (patch)
tree3a7775fa159e57efb03788f685613d603bcc3ab0
parent8b8dda79a95e9a21573b11c23345461441f2dcfe (diff)
downloadaports-a29a8fe5b8420e76d0ad75cee3dd6609d6e97f79.tar.bz2
aports-a29a8fe5b8420e76d0ad75cee3dd6609d6e97f79.tar.xz
main/gvpe: build fix aarch64
-rw-r--r--main/gvpe/APKBUILD15
1 files changed, 5 insertions, 10 deletions
diff --git a/main/gvpe/APKBUILD b/main/gvpe/APKBUILD
index 9f3ba553f2..8d4d1decd7 100644
--- a/main/gvpe/APKBUILD
+++ b/main/gvpe/APKBUILD
@@ -18,20 +18,15 @@ source="http://ftp.gnu.org/gnu/$pkgname/${pkgname}-${pkgver}.tar.gz
"
subpackages="$pkgname-doc"
-_builddir="${srcdir}"/${pkgname}-${pkgver}
+builddir="${srcdir}"/${pkgname}-${pkgver}
prepare() {
- local pf
- cd "${_builddir}"
- for pf in $source; do
- case $pf in
- *.patch) msg $pf; patch -p1 -i "$srcdir"/${pf} || return 1;;
- esac
- done
+ default_prepare || return 1
+ update_config_guess || return 1
}
build() {
- cd "${_builddir}"
+ cd "${builddir}"
./configure \
--prefix=/usr \
--sysconfdir=/etc \
@@ -45,7 +40,7 @@ build() {
}
package() {
- cd "${_builddir}"
+ cd "${builddir}"
make DESTDIR="${pkgdir}" install || return 1
install -D -m0644 "${srcdir}"/gvpe.confd "${pkgdir}"/etc/conf.d/gvpe \
|| return 1