dev-perl/razor: fix build

This commit is contained in:
Julian Ospald 2018-08-17 11:04:10 +08:00
parent 60b56ff450
commit c08fc8400b
No known key found for this signature in database
GPG Key ID: 511B62C09D50CD28

View File

@ -30,14 +30,9 @@ src_install() {
# utterly broken shit, doesn't honour INSTALLMAN1DIR etc
# no, I'm not hacking on perl build systems
dodir /usr/share/man
edo mv "${IMAGE%/}"/usr/$(exhost --target)/man/man1 \
"${IMAGE%/}"/usr/share/man/man1
edo mv "${IMAGE%/}"/usr/$(exhost --target)/man/man3 \
"${IMAGE%/}"/usr/share/man/man3
edo mv "${IMAGE%/}"/usr/$(exhost --target)/share/man/man5 \
"${IMAGE%/}"/usr/share/man/man5
edo rmdir "${IMAGE%/}"/usr/$(exhost --target)/man \
"${IMAGE%/}"/usr/$(exhost --target)/share/man \
edo rmdir "${IMAGE%/}"/usr/$(exhost --target)/share/man \
"${IMAGE%/}"/usr/$(exhost --target)/share
}