diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2019-02-20 15:11:50 +0000 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2019-02-20 15:11:50 +0000 |
commit | 16449a80e28af2209916cc66d19c9a44ca2b90d9 (patch) | |
tree | b4cfe2332c7a6c5da27b6985bf05db4508df1a92 /dev-lang/perl/perl-5.28.9999.ebuild | |
parent | 79599515788b85b18aa655e7b7f8cc05c1bbddd8 (diff) |
gentoo resync : 20.02.2019
Diffstat (limited to 'dev-lang/perl/perl-5.28.9999.ebuild')
-rw-r--r-- | dev-lang/perl/perl-5.28.9999.ebuild | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/dev-lang/perl/perl-5.28.9999.ebuild b/dev-lang/perl/perl-5.28.9999.ebuild index bacc75e30d88..71fc2b82b39b 100644 --- a/dev-lang/perl/perl-5.28.9999.ebuild +++ b/dev-lang/perl/perl-5.28.9999.ebuild @@ -307,8 +307,6 @@ src_prepare() { # do NOT mess with nsl, on Solaris this is always necessary, # when -lsocket is used e.g. to get h_errno sed -i '/gentoo\/no-nsl\.patch/d' "${WORKDIR}/patches/series" || die - # and set a soname - sed -i 's/sunos\*/sunos*|solaris*/' Makefile.SH || die fi einfo "Applying patches from ${PATCH_BASE} ..." @@ -333,6 +331,11 @@ src_prepare() { sed -i "/my..sysroot/s:'':'${EPREFIX}':" ext/Errno/Errno_pm.PL || die fi + if [[ ${CHOST} == *-solaris* ]] ; then + # set a soname, fix linking against just built libperl + sed -i -e 's/netbsd\*/netbsd*|solaris*/' Makefile.SH || die + fi + default } |