summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'x11-misc/dmenu/dmenu-0.5.ebuild')
-rw-r--r--x11-misc/dmenu/dmenu-0.5.ebuild5
1 files changed, 2 insertions, 3 deletions
diff --git a/x11-misc/dmenu/dmenu-0.5.ebuild b/x11-misc/dmenu/dmenu-0.5.ebuild
index 8f35cbbc8..e933dffad 100644
--- a/x11-misc/dmenu/dmenu-0.5.ebuild
+++ b/x11-misc/dmenu/dmenu-0.5.ebuild
@@ -13,7 +13,7 @@ SLOT="0"
KEYWORDS="~x86"
IUSE="savedconfig"
-DEPEND="|| ( x11-libs/libX11 virtual/x11 )"
+DEPEND="|| ( x11-libs/libX11 <virtual/x11-7 )"
RDEPEND="${DEPEND}"
src_unpack() {
@@ -52,8 +52,7 @@ src_install() {
pkg_preinst() {
if use savedconfig; then
- local
- config_dir="${PORTAGE_CONFIGROOT:-${ROOT}}/etc/portage/savedconfig"
+ local config_dir="${PORTAGE_CONFIGROOT:-${ROOT}}/etc/portage/savedconfig"
elog "Saving this build config to ${config_dir}/${PF}.config.h"
einfo "Read this ebuild for more info on how to take advantage of this option."
mkdir -p "${config_dir}"