dev-lang/perl: fix install on Darwin, bug #684030

Closes: https://bugs.gentoo.org/684030
Package-Manager: Portage-2.3.62-prefix, Repoman-2.3.13
Signed-off-by: Fabian Groffen <grobian@gentoo.org>
This commit is contained in:
Fabian Groffen 2019-06-02 11:14:14 +02:00
parent 67bb23a772
commit e69f4ec1ce
No known key found for this signature in database
GPG Key ID: CE95DA854E444293

View File

@ -338,6 +338,11 @@ src_prepare() {
sed -i -e 's/netbsd\*/netbsd*|solaris*/' Makefile.SH || die
fi
if [[ ${CHOST} == *-darwin* ]] ; then
# fix install_name (soname) not to reference $D
sed -i -e '/install_name `pwd/s/`pwd`/\\$(shrpdir)/' Makefile.SH || die
fi
default
}