aboutsummaryrefslogtreecommitdiffstats
path: root/testing/perl-daemon-control
diff options
context:
space:
mode:
authorTimo Teräs <timo.teras@iki.fi>2017-07-11 13:33:24 +0000
committerTimo Teräs <timo.teras@iki.fi>2017-07-11 13:33:49 +0000
commit9d593dea7c282a993e03f49c57d1221f2c88ee17 (patch)
tree5a5db7e2b5c5f62e6c60e842142371f50ea36a97 /testing/perl-daemon-control
parent7355c69487f68716a775071ce8dab9f83c56629b (diff)
downloadaports-9d593dea7c282a993e03f49c57d1221f2c88ee17.tar.bz2
aports-9d593dea7c282a993e03f49c57d1221f2c88ee17.tar.xz
testing/perl-daemon-control: modernize, attempt to fix test suite
Diffstat (limited to 'testing/perl-daemon-control')
-rw-r--r--testing/perl-daemon-control/APKBUILD5
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
}