From 9d593dea7c282a993e03f49c57d1221f2c88ee17 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Timo=20Ter=C3=A4s?= Date: Tue, 11 Jul 2017 13:33:24 +0000 Subject: testing/perl-daemon-control: modernize, attempt to fix test suite --- testing/perl-daemon-control/APKBUILD | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'testing') diff --git a/testing/perl-daemon-control/APKBUILD b/testing/perl-daemon-control/APKBUILD index c241a97c5c..804cad0de8 100644 --- a/testing/perl-daemon-control/APKBUILD +++ b/testing/perl-daemon-control/APKBUILD @@ -20,7 +20,8 @@ source="http://search.cpan.org/CPAN/authors/id/S/SY/SYMKAT/$_pkgreal-$pkgver.tar builddir="$srcdir/$_pkgreal-$pkgver" prepare() { - default_prepare || return 1 + default_prepare + sed -i -e 's/sleep 10/sleep 11/g' t/*.t cd "$builddir" export CFLAGS=$(perl -MConfig -E 'say $Config{ccflags}') @@ -35,7 +36,7 @@ build() { package() { cd "$builddir" - make DESTDIR="$pkgdir" install || return 1 + make DESTDIR="$pkgdir" install find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete } -- cgit v1.2.3