diff options
Diffstat (limited to 'app-cdr/dvd+rw-tools/dvd+rw-tools-7.0.ebuild')
-rw-r--r-- | app-cdr/dvd+rw-tools/dvd+rw-tools-7.0.ebuild | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/app-cdr/dvd+rw-tools/dvd+rw-tools-7.0.ebuild b/app-cdr/dvd+rw-tools/dvd+rw-tools-7.0.ebuild index 53c8990ecc16..e3b00ed23bce 100644 --- a/app-cdr/dvd+rw-tools/dvd+rw-tools-7.0.ebuild +++ b/app-cdr/dvd+rw-tools/dvd+rw-tools-7.0.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2007 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-cdr/dvd+rw-tools/dvd+rw-tools-7.0.ebuild,v 1.11 2007/05/05 03:56:38 jer Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-cdr/dvd+rw-tools/dvd+rw-tools-7.0.ebuild,v 1.12 2007/10/26 09:32:13 uberlord Exp $ inherit eutils toolchain-funcs @@ -15,11 +15,19 @@ IUSE="" DEPEND="virtual/cdrtools" -src_compile() { +src_unpack() { + unpack ${A} + cd "${S}" + + epatch "${FILESDIR}/${P}"-limits.patch + sed -i \ -e "s:^CFLAGS=\$(WARN).*:CFLAGS=${CFLAGS}:" \ -e "s:^CXXFLAGS=\$(WARN).*:CXXFLAGS=${CXXFLAGS} -fno-exceptions:" \ Makefile.m4 || die +} + +src_compile() { emake CC=$(tc-getCC) CXX=$(tc-getCXX) || die } |