From 3bf1090f9d3396156d228dc440f594fbab95d18e Mon Sep 17 00:00:00 2001 From: Ulrich Müller Date: Tue, 13 Aug 2013 20:11:46 +0200 Subject: Explicitly ask for --with-sound=alsa with USE="alsa". Package-Manager: portage-2.2.0 --- app-editors/emacs-vcs/ChangeLog | 3 +++ app-editors/emacs-vcs/emacs-vcs-24.3.9999.ebuild | 8 ++++---- 2 files changed, 7 insertions(+), 4 deletions(-) (limited to 'app-editors') diff --git a/app-editors/emacs-vcs/ChangeLog b/app-editors/emacs-vcs/ChangeLog index e208164..aa11a70 100644 --- a/app-editors/emacs-vcs/ChangeLog +++ b/app-editors/emacs-vcs/ChangeLog @@ -2,6 +2,9 @@ # Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 # $Header: $ + 13 Aug 2013; Ulrich Müller emacs-vcs-24.3.9999.ebuild: + Explicitly ask for --with-sound=alsa with USE="alsa". + 12 Aug 2013; Ulrich Müller emacs-vcs-24.3.9999.ebuild: Merge changes from Portage tree. diff --git a/app-editors/emacs-vcs/emacs-vcs-24.3.9999.ebuild b/app-editors/emacs-vcs/emacs-vcs-24.3.9999.ebuild index 8988fc8..e3651cc 100644 --- a/app-editors/emacs-vcs/emacs-vcs-24.3.9999.ebuild +++ b/app-editors/emacs-vcs/emacs-vcs-24.3.9999.ebuild @@ -147,10 +147,10 @@ src_configure() { local myconf - if use alsa && ! use sound; then - einfo "Although sound USE flag is disabled you chose to have alsa," - einfo "so sound is switched on anyway." - myconf+=" --with-sound" + if use alsa; then + use sound || einfo \ + "USE flag \"alsa\" overrides \"-sound\"; enabling sound support." + myconf+=" --with-sound=alsa" else myconf+=" $(use_with sound)" fi -- cgit v1.2.3-18-g5258