Uninstall previous perl files using uninstall rather than src_install

This commit is contained in:
fosslinux 2024-01-13 07:47:17 +11:00
parent 0a98747dab
commit fb35fcac4c
6 changed files with 2 additions and 32 deletions

View File

@ -76,10 +76,10 @@ build: coreutils-6.10
build: gawk-3.0.4
build: perl-5.000
build: perl-5.003
uninstall: perl-5.000
build: perl5.004-05
build: perl5.005-03
build: perl-5.6.2
uninstall: perl-5.000 perl-5.003 perl5.004-05 perl5.005-03
improve: populate_device_nodes
build: autoconf-2.52
build: automake-1.6.3
@ -150,6 +150,7 @@ build: bison-3.4.2
build: perl-5.10.1
build: dist-3.5-236
build: perl-5.32.1
uninstall: perl-5.6.2 perl-5.10.1
build: libarchive-3.5.2
build: openssl-1.1.1l
build: ca-certificates-3.95

View File

@ -28,10 +28,3 @@ src_prepare() {
mv ext/Digest-SHA ext/Digest/SHA
mv ext/Data-Dumper ext/Data/Dumper
}
src_install() {
# Remove old perl
rm -rf "${PREFIX}"/lib/perl5/
default
}

View File

@ -42,9 +42,6 @@ src_configure() {
}
src_install() {
# Remove old perl
rm -rf "${PREFIX}"/lib/perl5/
default
# Remove messed up manpages

View File

@ -37,10 +37,3 @@ src_prepare() {
src_compile() {
make -j1 PREFIX="${PREFIX}"
}
src_install() {
# Remove old perl
rm -rf "${PREFIX}"/lib/perl5/
default
}

View File

@ -18,10 +18,3 @@ src_prepare() {
perl ${file}.pl
done
}
src_install() {
# Remove old perl
rm -rf "${PREFIX}"/lib/perl5/
default
}

View File

@ -22,10 +22,3 @@ src_prepare() {
rm -f fbyterun.h byterun.c
perl bytecode.pl
}
src_install() {
# Remove old perl
rm -rf "${PREFIX}"/lib/perl5/
default
}