summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJan Brinkmann <luckyduck@gentoo.org>2005-03-31 19:36:14 +0000
committerJan Brinkmann <luckyduck@gentoo.org>2005-03-31 19:36:14 +0000
commita5cf2e44e720aa9fea1e4c771fe5996dedd40705 (patch)
tree0997ad8bd2e0565dfd672909ec78ed9ec72abc5e /media-video/vls/vls-0.5.6-r2.ebuild
parent(Portage version: 2.0.51.19) (Manifest recommit) (diff)
downloadgentoo-2-a5cf2e44e720aa9fea1e4c771fe5996dedd40705.tar.gz
gentoo-2-a5cf2e44e720aa9fea1e4c771fe5996dedd40705.tar.bz2
gentoo-2-a5cf2e44e720aa9fea1e4c771fe5996dedd40705.zip
added a patch to enable gcc3.4.x compilation. fixes bug #64575
(Portage version: 2.0.51.19)
Diffstat (limited to 'media-video/vls/vls-0.5.6-r2.ebuild')
-rw-r--r--media-video/vls/vls-0.5.6-r2.ebuild13
1 files changed, 11 insertions, 2 deletions
diff --git a/media-video/vls/vls-0.5.6-r2.ebuild b/media-video/vls/vls-0.5.6-r2.ebuild
index 6a3d8d08d912..849a99757877 100644
--- a/media-video/vls/vls-0.5.6-r2.ebuild
+++ b/media-video/vls/vls-0.5.6-r2.ebuild
@@ -1,6 +1,8 @@
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-video/vls/vls-0.5.6-r2.ebuild,v 1.3 2005/01/29 00:27:08 luckyduck Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-video/vls/vls-0.5.6-r2.ebuild,v 1.4 2005/03/31 19:36:14 luckyduck Exp $
+
+inherit eutils
IUSE="debug dvd dvb"
@@ -17,13 +19,20 @@ DEPEND="dvd? ( >=media-libs/libdvdread-0.9.4
dvb? ( >=media-libs/libdvb-0.5.0 )
>=media-libs/libdvbpsi-0.1.3"
+src_unpack() {
+ unpack ${A}
+ cd ${S}
+
+ epatch ${FILESDIR}/${P}-gcc34.patch
+}
+
src_compile() {
local myconf
use debug || myconf="--disable-debug"
use dvb && myconf="${myconf} --enable-dvb --with-libdvb=/usr/lib/"
- econf `use_enable dvd` \
+ econf $(use_enable dvd) \
${myconf} || die "econf failed"
emake || die "emake failed"