summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDiego Elio Pettenò <flameeyes@gentoo.org>2005-11-25 00:59:37 +0000
committerDiego Elio Pettenò <flameeyes@gentoo.org>2005-11-25 00:59:37 +0000
commit027be73f23e66fd6f702e660e548a677ac4e57cd (patch)
treef66335b5fb692be6d7fe3f9cfcc8cdc0eb765009 /media-libs/libdts/libdts-0.0.2-r3.ebuild
parentStable on amd64, bug 112842. (diff)
downloadgentoo-2-027be73f23e66fd6f702e660e548a677ac4e57cd.tar.gz
gentoo-2-027be73f23e66fd6f702e660e548a677ac4e57cd.tar.bz2
gentoo-2-027be73f23e66fd6f702e660e548a677ac4e57cd.zip
Remove libtool2 patch for PPC, fixing finally the PIC thing. It was due to -prefer-non-pic flag used in libdtls/configure.incls. Similar problem was fixed in a52dec-0.7.4-build.patch, from which libdts derive.
(Portage version: 2.0.53_rc7)
Diffstat (limited to 'media-libs/libdts/libdts-0.0.2-r3.ebuild')
-rw-r--r--media-libs/libdts/libdts-0.0.2-r3.ebuild19
1 files changed, 6 insertions, 13 deletions
diff --git a/media-libs/libdts/libdts-0.0.2-r3.ebuild b/media-libs/libdts/libdts-0.0.2-r3.ebuild
index f89eb2f6e7bd..895bf1f20853 100644
--- a/media-libs/libdts/libdts-0.0.2-r3.ebuild
+++ b/media-libs/libdts/libdts-0.0.2-r3.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-libs/libdts/libdts-0.0.2-r3.ebuild,v 1.7 2005/10/31 15:58:11 flameeyes Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-libs/libdts/libdts-0.0.2-r3.ebuild,v 1.8 2005/11/25 00:59:37 flameeyes Exp $
inherit eutils autotools
@@ -22,18 +22,11 @@ DEPEND="${RDEPEND}
src_unpack() {
unpack ${A}
- if use ppc ; then
- # For some reason, ppc isn't properly using -fPIC... this
- # patch is broken, but makes it "work" on ppc. If someone
- # will get me access, I'll fix it... --eradicator
- # Bug #98494
- epatch ${FILESDIR}/${P}-libtool2.patch
- else
- epatch ${FILESDIR}/${P}-libtool.patch
- fi
- epatch ${FILESDIR}/${P}-freebsd.patch
-
- cd ${S}
+ cd "${S}"
+
+ epatch "${FILESDIR}/${P}-libtool.patch"
+ epatch "${FILESDIR}/${P}-freebsd.patch"
+
eautoreconf
}