Commit 9d593dea authored by Timo Teräs's avatar Timo Teräs

testing/perl-daemon-control: modernize, attempt to fix test suite

parent 7355c694
......@@ -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
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment