diff options
author | Julian Ospald <hasufell@gentoo.org> | 2012-12-23 15:23:52 +0000 |
---|---|---|
committer | Julian Ospald <hasufell@gentoo.org> | 2012-12-23 15:23:52 +0000 |
commit | 7b8247f6526d490918c4beda9b47913765ee8e28 (patch) | |
tree | 833d42249459ea7ed77f06c68be88ea620a85b3c /media-sound/pnmixer | |
parent | version bump (diff) | |
download | gentoo-2-7b8247f6526d490918c4beda9b47913765ee8e28.tar.gz gentoo-2-7b8247f6526d490918c4beda9b47913765ee8e28.tar.bz2 gentoo-2-7b8247f6526d490918c4beda9b47913765ee8e28.zip |
add debug useflag
(Portage version: 2.2.0_alpha149/cvs/Linux x86_64, signed Manifest commit with key E73C35B3)
Diffstat (limited to 'media-sound/pnmixer')
-rw-r--r-- | media-sound/pnmixer/ChangeLog | 6 | ||||
-rw-r--r-- | media-sound/pnmixer/files/pnmixer-0.6_pre20111213-build.patch | 2 | ||||
-rw-r--r-- | media-sound/pnmixer/pnmixer-0.6_pre20111213.ebuild | 8 |
3 files changed, 11 insertions, 5 deletions
diff --git a/media-sound/pnmixer/ChangeLog b/media-sound/pnmixer/ChangeLog index d50b8535d0b3..164a9db9fcb6 100644 --- a/media-sound/pnmixer/ChangeLog +++ b/media-sound/pnmixer/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for media-sound/pnmixer # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/media-sound/pnmixer/ChangeLog,v 1.3 2012/12/22 17:12:48 ago Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-sound/pnmixer/ChangeLog,v 1.4 2012/12/23 15:23:52 hasufell Exp $ + + 23 Dec 2012; Julian Ospald <hasufell@gentoo.org> + pnmixer-0.6_pre20111213.ebuild, files/pnmixer-0.6_pre20111213-build.patch: + add debug useflag 22 Dec 2012; Agostino Sarubbo <ago@gentoo.org> pnmixer-0.6_pre20111213.ebuild: Add ~ppc, wrt bug #448048 diff --git a/media-sound/pnmixer/files/pnmixer-0.6_pre20111213-build.patch b/media-sound/pnmixer/files/pnmixer-0.6_pre20111213-build.patch index 4f7cd226ef42..81705a862d14 100644 --- a/media-sound/pnmixer/files/pnmixer-0.6_pre20111213-build.patch +++ b/media-sound/pnmixer/files/pnmixer-0.6_pre20111213-build.patch @@ -31,12 +31,12 @@ don't use AM_CFLAGS in configure.in if test x"$debugit" = x"yes"; then AC_DEFINE([DEBUG],[],[Debug Mode]) - AM_CFLAGS="$AM_CFLAGS -g -Wall -Werror -Wno-uninitialized -Wformat -Wformat-security -O0 -export-dynamic" -+ CFLAGS="$CFLAGS -g -Wall -Werror -Wno-uninitialized -Wformat -Wformat-security -O0" else AC_DEFINE([NDEBUG],[],[No-debug Mode]) - AM_CFLAGS="$AM_CFLAGS -O2 -export-dynamic" fi ++CFLAGS="$CFLAGS -Wall -Werror -Wno-uninitialized -Wformat -Wformat-security" +LDFLAGS="-rdynamic $LDFLAGS" + ########################################################################## diff --git a/media-sound/pnmixer/pnmixer-0.6_pre20111213.ebuild b/media-sound/pnmixer/pnmixer-0.6_pre20111213.ebuild index caa3eeefd930..948e87b18c5b 100644 --- a/media-sound/pnmixer/pnmixer-0.6_pre20111213.ebuild +++ b/media-sound/pnmixer/pnmixer-0.6_pre20111213.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2012 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/media-sound/pnmixer/pnmixer-0.6_pre20111213.ebuild,v 1.3 2012/12/22 17:12:48 ago Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-sound/pnmixer/pnmixer-0.6_pre20111213.ebuild,v 1.4 2012/12/23 15:23:52 hasufell Exp $ EAPI=5 @@ -13,7 +13,7 @@ SRC_URI="http://dev.gentoo.org/~hasufell/distfiles/${P}.tar.xz" LICENSE="GPL-3" SLOT="0" KEYWORDS="amd64 ~ppc ~x86" -IUSE="libnotify" +IUSE="debug libnotify" RDEPEND="media-libs/alsa-lib x11-libs/gtk+:2 @@ -29,7 +29,9 @@ src_prepare() { } src_configure() { - econf $(use_with libnotify) + econf \ + $(use_enable debug) \ + $(use_with libnotify) } src_install() { |