1
0
Fork 0
mirror of https://gitlab.alpinelinux.org/alpine/aports.git synced 2025-07-25 20:25:28 +03:00

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/
This commit is contained in:
Sören Tempel 2017-03-13 12:29:39 +01:00
parent 00fe68cd5e
commit db663133a8

View file

@ -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