diff options
author | Chí-Thanh Christopher Nguyễn <chithanh@gentoo.org> | 2010-05-24 14:25:09 +0000 |
---|---|---|
committer | Chí-Thanh Christopher Nguyễn <chithanh@gentoo.org> | 2010-05-24 14:25:09 +0000 |
commit | 828704ff43d068fb778577f93eeee4d4975699cf (patch) | |
tree | c5fb521846db48baf9552d22fe97b866592354e1 /dev-libs/udis86 | |
parent | ppc stable #319725 (diff) | |
download | gentoo-2-828704ff43d068fb778577f93eeee4d4975699cf.tar.gz gentoo-2-828704ff43d068fb778577f93eeee4d4975699cf.tar.bz2 gentoo-2-828704ff43d068fb778577f93eeee4d4975699cf.zip |
add pic USE flag to work around bug #317599
(Portage version: 2.2_rc67/cvs/Linux x86_64)
Diffstat (limited to 'dev-libs/udis86')
-rw-r--r-- | dev-libs/udis86/ChangeLog | 6 | ||||
-rw-r--r-- | dev-libs/udis86/metadata.xml | 3 | ||||
-rw-r--r-- | dev-libs/udis86/udis86-1.7.ebuild | 8 |
3 files changed, 14 insertions, 3 deletions
diff --git a/dev-libs/udis86/ChangeLog b/dev-libs/udis86/ChangeLog index 7aee24073dee..411a61b763aa 100644 --- a/dev-libs/udis86/ChangeLog +++ b/dev-libs/udis86/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for dev-libs/udis86 # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-libs/udis86/ChangeLog,v 1.7 2010/05/12 14:13:00 chithanh Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-libs/udis86/ChangeLog,v 1.8 2010/05/24 14:25:09 chithanh Exp $ + + 24 May 2010; Chí-Thanh Christopher Nguyễn <chithanh@gentoo.org> + udis86-1.7.ebuild, metadata.xml: + add pic USE flag to work around bug #317599 12 May 2010; Chí-Thanh Christopher Nguyễn <chithanh@gentoo.org> udis86-1.7.ebuild, +files/udis86-1.7-yasm.patch: diff --git a/dev-libs/udis86/metadata.xml b/dev-libs/udis86/metadata.xml index 8fe9668040a6..da5e6481ebd3 100644 --- a/dev-libs/udis86/metadata.xml +++ b/dev-libs/udis86/metadata.xml @@ -6,5 +6,8 @@ <email>chithanh@gentoo.org</email> <name>Chí-Thanh Christopher Nguyễn</name> </maintainer> + <use> + <flag name="pic">Force shared libraries to be built as PIC</flag> + </use> </pkgmetadata> diff --git a/dev-libs/udis86/udis86-1.7.ebuild b/dev-libs/udis86/udis86-1.7.ebuild index fc66e6ac4bd6..9cabd0e34c78 100644 --- a/dev-libs/udis86/udis86-1.7.ebuild +++ b/dev-libs/udis86/udis86-1.7.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2010 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-libs/udis86/udis86-1.7.ebuild,v 1.8 2010/05/12 15:50:50 mr_bones_ Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-libs/udis86/udis86-1.7.ebuild,v 1.9 2010/05/24 14:25:09 chithanh Exp $ EAPI=3 inherit autotools @@ -12,7 +12,7 @@ SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" LICENSE="BSD" SLOT="0" KEYWORDS="~amd64 ~hppa ~ppc64 ~x86 ~x86-fbsd" -IUSE="test" +IUSE="pic test" DEPEND="test? ( amd64? ( dev-lang/yasm ) @@ -27,6 +27,10 @@ src_prepare() { eautoreconf } +src_configure() { + econf "$(use_with pic)" +} + src_install() { emake docdir="/usr/share/doc/${PF}/" DESTDIR="${D}" install || die "emake install failed" } |