diff options
author | Fabian Groffen <grobian@gentoo.org> | 2016-12-25 17:58:31 +0100 |
---|---|---|
committer | Fabian Groffen <grobian@gentoo.org> | 2016-12-25 17:58:53 +0100 |
commit | c2f9b7ca6ac70620656cc708f936d92e1b3080a8 (patch) | |
tree | fb12b4084286621f194e6156d28f5864110db997 /app-arch | |
parent | net-libs/zeromq: Hard depened on sys-libs/libunwind (diff) | |
download | gentoo-c2f9b7ca6ac70620656cc708f936d92e1b3080a8.tar.gz gentoo-c2f9b7ca6ac70620656cc708f936d92e1b3080a8.tar.bz2 gentoo-c2f9b7ca6ac70620656cc708f936d92e1b3080a8.zip |
app-arch/libarchive: fix linking on Solaris
Package-Manager: portage-2.2.28-prefix
Diffstat (limited to 'app-arch')
-rw-r--r-- | app-arch/libarchive/libarchive-3.2.2.ebuild | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/app-arch/libarchive/libarchive-3.2.2.ebuild b/app-arch/libarchive/libarchive-3.2.2.ebuild index 44e767bf53ef..687485a66e02 100644 --- a/app-arch/libarchive/libarchive-3.2.2.ebuild +++ b/app-arch/libarchive/libarchive-3.2.2.ebuild @@ -3,7 +3,7 @@ # $Id$ EAPI=6 -inherit eutils multilib-minimal toolchain-funcs autotools +inherit eutils multilib-minimal toolchain-funcs autotools flag-o-matic DESCRIPTION="BSD tar command" HOMEPAGE="http://www.libarchive.org/" @@ -78,6 +78,9 @@ multilib_src_configure() { --without-lzmadec ) + # Fix linking on Solaris + [[ ${CHOST} == *-solaris* ]] && append-ldflags -lsocket -lnsl + ECONF_SOURCE="${S}" econf "${myconf[@]}" } |