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/emacs-vcs-24.3.9999.ebuild | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'app-editors/emacs-vcs/emacs-vcs-24.3.9999.ebuild') 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