summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUlrich Müller <ulm@gentoo.org>2013-08-13 20:11:46 +0200
committerUlrich Müller <ulm@gentoo.org>2013-08-13 20:11:46 +0200
commit3bf1090f9d3396156d228dc440f594fbab95d18e (patch)
tree27789615bd93a2c9572c3f00d40e7a9951cac16a /app-editors
parentMerge changes from Portage tree. (diff)
downloademacs-3bf1090f9d3396156d228dc440f594fbab95d18e.tar.gz
emacs-3bf1090f9d3396156d228dc440f594fbab95d18e.tar.bz2
emacs-3bf1090f9d3396156d228dc440f594fbab95d18e.zip
Explicitly ask for --with-sound=alsa with USE="alsa".
Package-Manager: portage-2.2.0
Diffstat (limited to 'app-editors')
-rw-r--r--app-editors/emacs-vcs/ChangeLog3
-rw-r--r--app-editors/emacs-vcs/emacs-vcs-24.3.9999.ebuild8
2 files changed, 7 insertions, 4 deletions
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 <ulm@gentoo.org> emacs-vcs-24.3.9999.ebuild:
+ Explicitly ask for --with-sound=alsa with USE="alsa".
+
12 Aug 2013; Ulrich Müller <ulm@gentoo.org> 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