summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFabian Groffen <grobian@gentoo.org>2013-07-12 19:59:37 +0000
committerFabian Groffen <grobian@gentoo.org>2013-07-12 19:59:37 +0000
commitebb0e3ad94df731d4e61cd32f1d383351200d476 (patch)
tree4dd9af74679335b2e78cadaab56ec3db84762d66 /app-arch/libarchive/libarchive-3.1.2-r1.ebuild
parentVersion bump. Remove old ebuilds. Bug #475898 (diff)
downloadhistorical-ebb0e3ad94df731d4e61cd32f1d383351200d476.tar.gz
historical-ebb0e3ad94df731d4e61cd32f1d383351200d476.tar.bz2
historical-ebb0e3ad94df731d4e61cd32f1d383351200d476.zip
Don't request shared libraries on static-only systems such as FreeMiNT, bug #458500
Package-Manager: portage-2.2.01.22124-prefix/cvs/SunOS i386 Manifest-Sign-Key: 0x5F75F607C5C74E89
Diffstat (limited to 'app-arch/libarchive/libarchive-3.1.2-r1.ebuild')
-rw-r--r--app-arch/libarchive/libarchive-3.1.2-r1.ebuild8
1 files changed, 4 insertions, 4 deletions
diff --git a/app-arch/libarchive/libarchive-3.1.2-r1.ebuild b/app-arch/libarchive/libarchive-3.1.2-r1.ebuild
index 58a4494db30a..5d00138f4689 100644
--- a/app-arch/libarchive/libarchive-3.1.2-r1.ebuild
+++ b/app-arch/libarchive/libarchive-3.1.2-r1.ebuild
@@ -1,9 +1,9 @@
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-arch/libarchive/libarchive-3.1.2-r1.ebuild,v 1.12 2013/04/05 18:11:17 ago Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-arch/libarchive/libarchive-3.1.2-r1.ebuild,v 1.13 2013/07/12 19:59:33 grobian Exp $
EAPI=5
-inherit eutils libtool multilib
+inherit eutils libtool multilib toolchain-funcs
DESCRIPTION="BSD tar command"
HOMEPAGE="http://www.libarchive.org/"
@@ -47,8 +47,8 @@ src_configure() {
# and not liblzmadec with this version.
econf \
$(use_enable static-libs static) \
- --enable-bsdtar=shared \
- --enable-bsdcpio=shared \
+ --enable-bsdtar=$(tc-is-static-only && echo static || echo shared) \
+ --enable-bsdcpio=$(tc-is-static-only && echo static || echo shared) \
$(use_enable xattr) \
$(use_enable acl) \
$(use_with zlib) \