summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexis Ballier <aballier@gentoo.org>2007-09-24 06:08:44 +0000
committerAlexis Ballier <aballier@gentoo.org>2007-09-24 06:08:44 +0000
commit197965bd2d72da7d7a218d6797df6086d516e8ea (patch)
tree04fa3eb80b87b7b6731057ef4d8bded68f33991f /media-video/x264-svn-encoder
parentfix usage of debug useflag, bug #193570 (diff)
downloadgentoo-2-197965bd2d72da7d7a218d6797df6086d516e8ea.tar.gz
gentoo-2-197965bd2d72da7d7a218d6797df6086d516e8ea.tar.bz2
gentoo-2-197965bd2d72da7d7a218d6797df6086d516e8ea.zip
fix usage of debug useflag, bug #193570
(Portage version: 2.1.3.9)
Diffstat (limited to 'media-video/x264-svn-encoder')
-rw-r--r--media-video/x264-svn-encoder/ChangeLog6
-rw-r--r--media-video/x264-svn-encoder/x264-svn-encoder-20070923.ebuild6
2 files changed, 9 insertions, 3 deletions
diff --git a/media-video/x264-svn-encoder/ChangeLog b/media-video/x264-svn-encoder/ChangeLog
index c61664bcfef6..e87981cec180 100644
--- a/media-video/x264-svn-encoder/ChangeLog
+++ b/media-video/x264-svn-encoder/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for media-video/x264-svn-encoder
# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-video/x264-svn-encoder/ChangeLog,v 1.8 2007/09/23 18:11:50 aballier Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-video/x264-svn-encoder/ChangeLog,v 1.9 2007/09/24 06:08:44 aballier Exp $
+
+ 24 Sep 2007; Alexis Ballier <aballier@gentoo.org>
+ x264-svn-encoder-20070923.ebuild:
+ fix usage of debug useflag, bug #193570
*x264-svn-encoder-20070923 (23 Sep 2007)
diff --git a/media-video/x264-svn-encoder/x264-svn-encoder-20070923.ebuild b/media-video/x264-svn-encoder/x264-svn-encoder-20070923.ebuild
index 4af89f4ece0a..5cf71cef3e49 100644
--- a/media-video/x264-svn-encoder/x264-svn-encoder-20070923.ebuild
+++ b/media-video/x264-svn-encoder/x264-svn-encoder-20070923.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/media-video/x264-svn-encoder/x264-svn-encoder-20070923.ebuild,v 1.1 2007/09/23 18:11:50 aballier Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-video/x264-svn-encoder/x264-svn-encoder-20070923.ebuild,v 1.2 2007/09/24 06:08:44 aballier Exp $
inherit multilib eutils toolchain-funcs
@@ -41,13 +41,15 @@ src_unpack() {
}
src_compile() {
+ local myconf=""
+ use debug && myconf="${myconf} --enable-debug"
./configure --prefix=/usr \
--libdir=/usr/$(get_libdir) \
--enable-pic --enable-shared \
"--extra-cflags=${CFLAGS}" \
"--extra-ldflags=${LDFLAGS}" \
"--extra-asflags=${ASFLAGS}" \
- $(use_enable debug) \
+ ${myconf} \
$(use_enable threads pthread) \
$(use_enable mp4 mp4-output) \
$(use_enable gtk) \