diff options
author | Sören Tempel <soeren+git@soeren-tempel.net> | 2017-03-13 12:29:39 +0100 |
---|---|---|
committer | Sören Tempel <soeren+git@soeren-tempel.net> | 2017-03-13 13:01:39 +0100 |
commit | db663133a8ce4166f11ef869e6e0b35a1691602e (patch) | |
tree | 5c63ddf3c0f1bd1d794e09c0fa310f0750313bbf /main/perl | |
parent | 00fe68cd5efe365cd9b23124ad5e8b3e92b54de2 (diff) | |
download | aports-db663133a8ce4166f11ef869e6e0b35a1691602e.tar.bz2 aports-db663133a8ce4166f11ef869e6e0b35a1691602e.tar.xz |
main/perl: don't move any scripts to the dev subpackage
Moving those scripts to the dev subpackages requires a lot of APKBUILD
updates since all packages that previously depended on perl for pod2man (or
any other script previously shipped with the dev subpackage) now need to
depend on perl-dev instead.
Since finding those packages is not that easy we just revert this change
for now. Some packages even broke silently, gdb for instance suddenly
had an empty man page which makes it pretty hard to rely on build errors
for identifying aports which need to be fixed.
See also: https://patchwork.alpinelinux.org/patch/2961/
Diffstat (limited to 'main/perl')
-rw-r--r-- | main/perl/APKBUILD | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/main/perl/APKBUILD b/main/perl/APKBUILD index 6ee6da23b1..63a70b811c 100644 --- a/main/perl/APKBUILD +++ b/main/perl/APKBUILD @@ -3,7 +3,7 @@ # Contributor: Valery Kartel <valery.kartel@gmail.com> pkgname=perl pkgver=5.24.1 -pkgrel=1 +pkgrel=2 pkgdesc="Larry Wall's Practical Extraction and Report Language" url="http://www.perl.org/" arch="all" @@ -92,13 +92,7 @@ dev() { mkdir -p "$subpkgdir"/usr/bin "$subpkgdir"/$_archlib "$subpkgdir"/$_privlib mv "$pkgdir"/$_archlib/Devel "$subpkgdir"/$_archlib/ || return 1 mv "$pkgdir"/$_privlib/Encode "$subpkgdir"/$_privlib/ || return 1 - local file - for file in c2ph corelist enc2xs instmodsh h2ph h2xs libnetcfg perldoc \ - perlivp perlthanks pl2pm pod2html pod2man pod2text pod2usage \ - podchecker podselect xsubpp $pkgname$pkgver - do - mv "$pkgdir"/usr/bin/$file "$subpkgdir"/usr/bin/ || return 1 - done + rm "$pkgdir"/usr/bin/pstruct "$pkgdir"/usr/bin/perlbug ln -sf /usr/bin/c2ph "$subpkgdir"/usr/bin/pstruct ln -sf /usr/bin/perlthanks "$subpkgdir"/usr/bin/perlbug |