aports/main/diffutils/APKBUILD
Natanael Copa 75d3777e6a main/diffutils: skip meaningless test-pthread-rwlock
test-pthread-rwlock (expectedly) fails on riscv64 but does not test
anything that diffutils does/needs.

skip it.

ref: https://lists.gnu.org/archive/html/bug-gnulib/2025-05/msg00174.html
2025-10-14 22:54:50 +02:00

39 lines
1020 B
Plaintext

# Maintainer: Leonardo Arena <rnalrd@alpinelinux.org>
pkgname=diffutils
pkgver=3.12
pkgrel=0
pkgdesc="Show differences among files"
subpackages="$pkgname-doc"
url="https://www.gnu.org/software/diffutils/"
arch="all"
license="GPL-3.0-or-later"
checkdepends="perl"
source="https://ftp.gnu.org/pub/gnu/diffutils/diffutils-$pkgver.tar.xz
skip-meaningless-pthread-rwlock-test.patch"
build() {
CFLAGS="$CFLAGS -flto=auto" \
CXXFLAGS="$CXXFLAGS -flto=auto" \
./configure \
--build=$CBUILD \
--host=$CHOST \
--prefix=/usr \
--mandir=/usr/share/man \
--infodir=/usr/share/info \
--disable-nls
make
}
check() {
make check
}
package() {
make install DESTDIR=$pkgdir
}
sha512sums="
10b17cf1dcdfa9ca0e5db91d62c4a079ebe9fd7eafa3aaebd4eb7e6206e4d753f348496622aa281e1bd7f7fcde65ce4a886dcc4acbb59332ef980f224197b4e4 diffutils-3.12.tar.xz
8aa85a728f11b0d48e3d9ee7f25a332e3327b99ed1253d577081791d3cb0d1e5c315d80df973f2a3d50281405bf842f3e203e828d4d1ae1e02c652eb642cb84d skip-meaningless-pthread-rwlock-test.patch
"