summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAron Griffis <agriffis@gentoo.org>2003-03-11 14:54:44 +0000
committerAron Griffis <agriffis@gentoo.org>2003-03-11 14:54:44 +0000
commit626fc496817b21d56a914a63c72a0970e8a1ce88 (patch)
treeef9e72e70d3a0bc1979d745ae702a1857d096624 /media-libs
parentnew version (diff)
downloadgentoo-2-626fc496817b21d56a914a63c72a0970e8a1ce88.tar.gz
gentoo-2-626fc496817b21d56a914a63c72a0970e8a1ce88.tar.bz2
gentoo-2-626fc496817b21d56a914a63c72a0970e8a1ce88.zip
fix bug #17192 with -fPIC on alpha
Diffstat (limited to 'media-libs')
-rw-r--r--media-libs/libcdaudio/ChangeLog5
-rw-r--r--media-libs/libcdaudio/libcdaudio-0.99.6-r1.ebuild13
2 files changed, 14 insertions, 4 deletions
diff --git a/media-libs/libcdaudio/ChangeLog b/media-libs/libcdaudio/ChangeLog
index 8247c7fd6af9..7329588a02d2 100644
--- a/media-libs/libcdaudio/ChangeLog
+++ b/media-libs/libcdaudio/ChangeLog
@@ -1,9 +1,12 @@
# ChangeLog for media-libs/libcdaudio
# Copyright 2002-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-libs/libcdaudio/ChangeLog,v 1.5 2003/02/12 07:09:30 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-libs/libcdaudio/ChangeLog,v 1.6 2003/03/11 14:54:44 agriffis Exp $
*libcdaudio-0.99.6-r1 (16 Dec 2002)
+ 11 Mar 2003; Aron Griffis <agriffis@gentoo.org> libcdaudio-0.99.6-r1.ebuild:
+ Fix bug #17192 with -fPIC on alpha
+
16 Dec 2002; Mike Frysinger <vapier@gentoo.org> :
Added patch from #12208.
diff --git a/media-libs/libcdaudio/libcdaudio-0.99.6-r1.ebuild b/media-libs/libcdaudio/libcdaudio-0.99.6-r1.ebuild
index 0105ec302022..049096b73669 100644
--- a/media-libs/libcdaudio/libcdaudio-0.99.6-r1.ebuild
+++ b/media-libs/libcdaudio/libcdaudio-0.99.6-r1.ebuild
@@ -1,6 +1,10 @@
# Copyright 1999-2003 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-libs/libcdaudio/libcdaudio-0.99.6-r1.ebuild,v 1.2 2003/02/13 12:46:51 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-libs/libcdaudio/libcdaudio-0.99.6-r1.ebuild,v 1.3 2003/03/11 14:54:44 agriffis Exp $
+
+inherit flag-o-matic
+
+IUSE="pic"
DESCRIPTION="a library of cd audio related routines"
SRC_URI="mirror://sourceforge/libcdaudio/${P}.tar.gz"
@@ -8,11 +12,14 @@ HOMEPAGE="http://libcdaudio.sourceforge.net/"
SLOT="0"
LICENSE="GPL-2"
-KEYWORDS="x86 ppc sparc"
-IUSE="pic"
+KEYWORDS="x86 ppc sparc ~alpha"
src_compile() {
patch -p1 < ${FILESDIR}/${P}-sanity-checks.patch
+
+ # -fPIC is required for this library on alpha, see bug #17192
+ use alpha && append-flags -fPIC
+
econf --enable-threads --with-gnu-ld `use_with pic`
emake || die
}