diff options
author | Timo Teräs <timo.teras@iki.fi> | 2017-07-11 13:33:24 +0000 |
---|---|---|
committer | Timo Teräs <timo.teras@iki.fi> | 2017-07-11 13:33:49 +0000 |
commit | 9d593dea7c282a993e03f49c57d1221f2c88ee17 (patch) | |
tree | 5a5db7e2b5c5f62e6c60e842142371f50ea36a97 | |
parent | 7355c69487f68716a775071ce8dab9f83c56629b (diff) | |
download | aports-9d593dea7c282a993e03f49c57d1221f2c88ee17.tar.bz2 aports-9d593dea7c282a993e03f49c57d1221f2c88ee17.tar.xz |
testing/perl-daemon-control: modernize, attempt to fix test suite
-rw-r--r-- | testing/perl-daemon-control/APKBUILD | 5 |
1 files changed, 3 insertions, 2 deletions
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 } |