summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJauhien Piatlicki <jauhien@gentoo.org>2015-09-09 22:39:31 +0200
committerJauhien Piatlicki <jauhien@gentoo.org>2015-09-09 22:41:55 +0200
commitd4f84a754301a8296340281f9e2f1b58b58edcdd (patch)
tree644452827fd744842de6e0d819e52a43b9ae0fb5 /x11-misc/sddm
parentMerge remote-tracking branch 'Vindex17/master' (diff)
downloadgentoo-d4f84a754301a8296340281f9e2f1b58b58edcdd.tar.gz
gentoo-d4f84a754301a8296340281f9e2f1b58b58edcdd.tar.bz2
gentoo-d4f84a754301a8296340281f9e2f1b58b58edcdd.zip
x11-misc/sddm: better default USEs
Package-Manager: portage-2.2.20.1
Diffstat (limited to 'x11-misc/sddm')
-rw-r--r--x11-misc/sddm/sddm-0.12.0.ebuild12
1 files changed, 6 insertions, 6 deletions
diff --git a/x11-misc/sddm/sddm-0.12.0.ebuild b/x11-misc/sddm/sddm-0.12.0.ebuild
index bb960329bda5..9eca3ca7ea26 100644
--- a/x11-misc/sddm/sddm-0.12.0.ebuild
+++ b/x11-misc/sddm/sddm-0.12.0.ebuild
@@ -12,7 +12,7 @@ KEYWORDS="~amd64 ~x86"
LICENSE="GPL-2+ MIT CC-BY-3.0 CC-BY-SA-3.0 public-domain"
SLOT="0"
-IUSE="consolekit pam systemd"
+IUSE="consolekit +pam systemd"
RDEPEND="dev-qt/qtcore:5
dev-qt/qtdbus:5
@@ -33,11 +33,11 @@ DEPEND="${RDEPEND}
virtual/pkgconfig"
pkg_pretend() {
- if [[ ${MERGE_TYPE} != binary && $(tc-getCC) == *gcc* ]]; then
- if [[ $(gcc-major-version) -lt 4 || $(gcc-major-version) == 4 && $(gcc-minor-version) -lt 7 ]] ; then
- die 'The active compiler needs to be gcc 4.7 (or newer)'
- fi
- fi
+ if [[ ${MERGE_TYPE} != binary && $(tc-getCC) == *gcc* ]]; then
+ if [[ $(gcc-major-version) -lt 4 || $(gcc-major-version) == 4 && $(gcc-minor-version) -lt 7 ]] ; then
+ die 'The active compiler needs to be gcc 4.7 (or newer)'
+ fi
+ fi
}
src_prepare() {