summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBernard Cafarelli <voyageur@gentoo.org>2008-12-11 19:08:34 +0000
committerBernard Cafarelli <voyageur@gentoo.org>2008-12-11 19:08:34 +0000
commit1da8e1b0ab256f7a6b2ced0ce7838e2f97a539be (patch)
tree75f46f8feef9d3c519551b77737cb8d179c2ea9d /net-misc/x2goclient/x2goclient-2.0.1.21.ebuild
parentAdd warning on needed sudoers line (diff)
downloadnx-1da8e1b0ab256f7a6b2ced0ce7838e2f97a539be.tar.gz
nx-1da8e1b0ab256f7a6b2ced0ce7838e2f97a539be.tar.bz2
nx-1da8e1b0ab256f7a6b2ced0ce7838e2f97a539be.zip
Make ldap optional
svn path=/testing/; revision=209
Diffstat (limited to 'net-misc/x2goclient/x2goclient-2.0.1.21.ebuild')
-rw-r--r--net-misc/x2goclient/x2goclient-2.0.1.21.ebuild12
1 files changed, 8 insertions, 4 deletions
diff --git a/net-misc/x2goclient/x2goclient-2.0.1.21.ebuild b/net-misc/x2goclient/x2goclient-2.0.1.21.ebuild
index 1236e18..0da2c55 100644
--- a/net-misc/x2goclient/x2goclient-2.0.1.21.ebuild
+++ b/net-misc/x2goclient/x2goclient-2.0.1.21.ebuild
@@ -2,7 +2,7 @@
# Distributed under the terms of the GNU General Public License v2
# $Header: $
-EAPI="1"
+EAPI="2"
inherit qt4 versionator
MAJOR_PV="$(get_version_component_range 1-3)"
@@ -14,15 +14,19 @@ SRC_URI="http://x2go.obviously-nice.de/deb/pool/${PN}/${PN}_${FULL_PV}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
-IUSE=""
+IUSE="ldap"
DEPEND="net-misc/nx
- net-nds/openldap
|| ( ( x11-libs/qt-core:4 x11-libs/qt-gui:4 x11-libs/qt-svg:4 )
- >=x11-libs/qt-4.3:4 )"
+ >=x11-libs/qt-4.3:4 )
+ ldap? ( net-nds/openldap )"
S=${WORKDIR}/${PN}-${MAJOR_PV}
+src_prepare() {
+ use ldap || epatch "${FILESDIR}"/${PN}-${MAJOR_PV}-noldap.patch
+}
+
src_compile() {
eqmake4
emake || die "emake failed"