mirror of
https://github.com/flatcar/scripts.git
synced 2026-02-14 20:21:19 +01:00
pbzip2: pull in USE=static fixes from upstream
Upstream merged some fixes related to USE=static which we want. BUG=chromium-os:32519 TEST=`emerge pbzip2` produced a static binary TEST=`cbuildbot amd64-generic-paladin` worked Change-Id: Id817962ccd381b848e6baa3ca0df531a32505e84 Reviewed-on: https://gerrit.chromium.org/gerrit/27512 Reviewed-by: David James <davidjames@chromium.org> Commit-Ready: Mike Frysinger <vapier@chromium.org> Tested-by: Mike Frysinger <vapier@chromium.org>
This commit is contained in:
parent
1af5732922
commit
2c79c60068
@ -1,6 +1,6 @@
|
||||
# Copyright 1999-2011 Gentoo Foundation
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-arch/pbzip2/pbzip2-1.1.6.ebuild,v 1.1 2011/11/02 16:13:47 vapier Exp $
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-arch/pbzip2/pbzip2-1.1.6.ebuild,v 1.2 2012/07/15 18:24:16 vapier Exp $
|
||||
|
||||
EAPI=4
|
||||
|
||||
@ -12,11 +12,13 @@ SRC_URI="http://compression.ca/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="PBZIP2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha amd64 arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc x86 ~x86-fbsd"
|
||||
KEYWORDS="alpha amd64 arm hppa ia64 m68k mips ppc ppc64 s390 sh sparc x86 ~x86-fbsd"
|
||||
IUSE="static symlink"
|
||||
|
||||
DEPEND="app-arch/bzip2"
|
||||
RDEPEND="${DEPEND}"
|
||||
LIB_DEPEND="app-arch/bzip2[static-libs(+)]"
|
||||
RDEPEND="!static? ( ${LIB_DEPEND//\[static-libs(+)]} )"
|
||||
DEPEND="${RDEPEND}
|
||||
static? ( ${LIB_DEPEND} )"
|
||||
|
||||
src_prepare() {
|
||||
epatch "${FILESDIR}"/${PN}-1.1.6-makefile.patch
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user