summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFabian Groffen <grobian@gentoo.org>2020-12-27 11:25:11 +0100
committerFabian Groffen <grobian@gentoo.org>2020-12-27 11:25:11 +0100
commit19b5e7f05524f7788c35cc0e13f437358ca43f1c (patch)
tree23862bbce7f5e75c8f48d51b27b01881522d53c4 /app-arch
parentapp-arch/bzip2: drop AIX, HPUX, FreeMiNT remnants (diff)
downloadprefix-19b5e7f05524f7788c35cc0e13f437358ca43f1c.tar.gz
prefix-19b5e7f05524f7788c35cc0e13f437358ca43f1c.tar.bz2
prefix-19b5e7f05524f7788c35cc0e13f437358ca43f1c.zip
app-arch/bzip2: drop one more mint remnant
Package-Manager: Portage-3.0.12-prefix, Repoman-3.0.2 Signed-off-by: Fabian Groffen <grobian@gentoo.org>
Diffstat (limited to 'app-arch')
-rw-r--r--app-arch/bzip2/bzip2-1.0.6-r10.ebuild8
1 files changed, 2 insertions, 6 deletions
diff --git a/app-arch/bzip2/bzip2-1.0.6-r10.ebuild b/app-arch/bzip2/bzip2-1.0.6-r10.ebuild
index 7a3d83fdd5..c41ed39dff 100644
--- a/app-arch/bzip2/bzip2-1.0.6-r10.ebuild
+++ b/app-arch/bzip2/bzip2-1.0.6-r10.ebuild
@@ -71,16 +71,13 @@ multilib_src_compile() {
case "${CHOST}" in
*-darwin*)
bemake PREFIX="${EPREFIX}"/usr -f "${S}"/Makefile-libbz2_dylib all
- # FWIW, #504648 like for .so below
- ln -sf libbz2.${PV}.dylib libbz2.dylib
;;
*)
bemake -f "${S}"/Makefile-libbz2_so all
- # Make sure we link against the shared lib #504648
- [[ $(get_libname) != $(get_libname ${PV}) ]] &&
- ln -sf libbz2$(get_libname ${PV}) libbz2$(get_libname)
;;
esac
+ # Make sure we link against the shared lib #504648
+ ln -sf libbz2$(get_libname ${PV}) libbz2$(get_libname)
bemake -f "${S}"/Makefile all LDFLAGS="${LDFLAGS} $(usex static -static '')"
}
@@ -94,7 +91,6 @@ multilib_src_install() {
dolib.so libbz2$(get_libname ${PV})
[[ ${CHOST} == *-cygwin* ]] && dobin cygbz2-${PV%%.*}.dll
local v
- [[ $(get_libname) != $(get_libname ${PV}) ]] &&
for v in libbz2$(get_libname) libbz2$(get_libname ${PV%%.*}) libbz2$(get_libname ${PV%.*}) ; do
dosym libbz2$(get_libname ${PV}) /usr/$(get_libdir)/${v}
done