commit:     3b6cfa78aeff9555090651627b7f488661fd6afe
Author:     Fabian Groffen <grobian <AT> gentoo <DOT> org>
AuthorDate: Sun Dec 27 10:14:01 2020 +0000
Commit:     Fabian Groffen <grobian <AT> gentoo <DOT> org>
CommitDate: Sun Dec 27 10:14:01 2020 +0000
URL:        https://gitweb.gentoo.org/repo/proj/prefix.git/commit/?id=3b6cfa78

app-arch/bzip2: drop AIX, HPUX, FreeMiNT remnants

Package-Manager: Portage-3.0.12-prefix, Repoman-3.0.2
Signed-off-by: Fabian Groffen <grobian <AT> gentoo.org>

 app-arch/bzip2/bzip2-1.0.6-r10.ebuild | 13 -------------
 1 file changed, 13 deletions(-)

diff --git a/app-arch/bzip2/bzip2-1.0.6-r10.ebuild 
b/app-arch/bzip2/bzip2-1.0.6-r10.ebuild
index afd2cbacec..7a3d83fdd5 100644
--- a/app-arch/bzip2/bzip2-1.0.6-r10.ebuild
+++ b/app-arch/bzip2/bzip2-1.0.6-r10.ebuild
@@ -28,8 +28,6 @@ PATCHES=(
        "${FILESDIR}"/${PN}-1.0.6-out-of-tree-build.patch
        "${FILESDIR}"/${PN}-1.0.6-CVE-2016-3189.patch #620466
        "${FILESDIR}"/${PN}-1.0.6-ubsan-error.patch
-
-       "${FILESDIR}"/${PN}-1.0.6-r7-checkenv.patch # for AIX, Darwin?
 )
 
 DOCS=( CHANGES README{,.COMPILATION.PROBLEMS,.XML.STUFF} manual.pdf )
@@ -51,13 +49,6 @@ src_prepare() {
        # this a makefile for Darwin, which already "includes" saneso
        cp "${FILESDIR}"/${P}-Makefile-libbz2_dylib Makefile-libbz2_dylib || die
 
-       if [[ ${CHOST} == *-hpux* ]] ; then
-               sed -i -e 's,-soname,+h,' Makefile-libbz2_so || die "cannot 
replace -soname with +h"
-               if [[ ${CHOST} == hppa*-hpux* && ${CHOST} != hppa64*-hpux* ]] ; 
then
-                       sed -i -e '/^SOEXT/s,so,sl,' Makefile-libbz2_so || die 
"cannot replace so with sl"
-                       sed -i -e '/^SONAME/s,=,=${EPREFIX}/lib/,' 
Makefile-libbz2_so || die "cannt set soname"
-               fi
-       fi
        if [[ ${CHOST} == *-cygwin* ]] ; then
                sed -i -e "s/-o 
libbz2\.so\.${PV}/-Wl,--out-implib=libbz2$(get_libname ${PV})/" \
                           -e "s/-Wl,-soname -Wl,libbz2\.so\.1/-o 
cygbz2-${PV%%.*}.dll/" \
@@ -96,8 +87,6 @@ multilib_src_compile() {
 multilib_src_install() {
        into /usr
 
-       if ! tc-is-static-only; then
-
        # Install the shared lib manually.  We install:
        #  .x.x.x - standard shared lib behavior
        #  .x.x   - SONAME some distros use #338321
@@ -110,8 +99,6 @@ multilib_src_install() {
                dosym libbz2$(get_libname ${PV}) /usr/$(get_libdir)/${v}
        done
 
-       fi  # tc-is-static-only
-
        use static-libs && dolib.a libbz2.a
 
        if multilib_is_native_abi ; then

Reply via email to