diff options
author | Samuli Suominen <ssuominen@gentoo.org> | 2008-12-17 17:40:51 +0000 |
---|---|---|
committer | Samuli Suominen <ssuominen@gentoo.org> | 2008-12-17 17:40:51 +0000 |
commit | 976390a53810c7446adb3e20985229545a9addc8 (patch) | |
tree | d0ee368b70793660093da8c5b31589c2b6e5880c /xfce-extra | |
parent | Accidentally added intltool to RDEP instead of DEP (diff) | |
download | gentoo-2-976390a53810c7446adb3e20985229545a9addc8.tar.gz gentoo-2-976390a53810c7446adb3e20985229545a9addc8.tar.bz2 gentoo-2-976390a53810c7446adb3e20985229545a9addc8.zip |
Move use_enable out of global scope.
(Portage version: 2.1.6.1/cvs/Linux 2.6.27.7 i686)
Diffstat (limited to 'xfce-extra')
-rw-r--r-- | xfce-extra/xfce4-mixer/xfce4-mixer-4.4.3.ebuild | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/xfce-extra/xfce4-mixer/xfce4-mixer-4.4.3.ebuild b/xfce-extra/xfce4-mixer/xfce4-mixer-4.4.3.ebuild index 876be5cde64b..754f247320c3 100644 --- a/xfce-extra/xfce4-mixer/xfce4-mixer-4.4.3.ebuild +++ b/xfce-extra/xfce4-mixer/xfce4-mixer-4.4.3.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2008 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/xfce-extra/xfce4-mixer/xfce4-mixer-4.4.3.ebuild,v 1.8 2008/12/15 05:03:27 jer Exp $ +# $Header: /var/cvsroot/gentoo-x86/xfce-extra/xfce4-mixer/xfce4-mixer-4.4.3.ebuild,v 1.9 2008/12/17 17:40:51 ssuominen Exp $ EAPI=1 @@ -29,11 +29,13 @@ RDEPEND=">=dev-libs/glib-2.6:2 DEPEND="${RDEPEND} dev-util/intltool" -if use alsa; then - XFCE_CONFIG+=" --with-sound=alsa" -fi +pkg_setup() { + if use alsa; then + XFCE_CONFIG+=" --with-sound=alsa" + fi -XFCE_CONFIG+=" $(use_enable nls)" + XFCE_CONFIG+=" $(use_enable nls)" +} src_unpack() { unpack ${A} |