libdmtx: Use update_config_* functions to fix aarch64 build

See also: #698
This commit is contained in:
Oliver Smith 2017-11-28 23:33:28 +01:00
parent 9b30cd6a46
commit 57d301749c

View file

@ -2,7 +2,7 @@
# Maintainer: Bart Ribbers <bribbers@disroot.org> # Maintainer: Bart Ribbers <bribbers@disroot.org>
pkgname=libdmtx pkgname=libdmtx
pkgver=0.7.4 pkgver=0.7.4
pkgrel=6 pkgrel=7
pkgdesc="A software for reading and writing Data Matrix 2D barcodes" pkgdesc="A software for reading and writing Data Matrix 2D barcodes"
url="https://libdmtx.sourceforge.net/" url="https://libdmtx.sourceforge.net/"
arch="all" arch="all"
@ -10,6 +10,12 @@ license="BSD-2"
source="https://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.bz2" source="https://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.bz2"
subpackages="$pkgname-dev $pkgname-libs $pkgname-doc" subpackages="$pkgname-dev $pkgname-libs $pkgname-doc"
prepare() {
default_prepare
update_config_sub
update_config_guess
}
build() { build() {
./configure --prefix=/usr ./configure --prefix=/usr
make make