summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'xfce-base/xfprint/xfprint-4.3.90.1.ebuild')
-rw-r--r--xfce-base/xfprint/xfprint-4.3.90.1.ebuild14
1 files changed, 7 insertions, 7 deletions
diff --git a/xfce-base/xfprint/xfprint-4.3.90.1.ebuild b/xfce-base/xfprint/xfprint-4.3.90.1.ebuild
index 69ab9dbb1f89..74e31104f7a7 100644
--- a/xfce-base/xfprint/xfprint-4.3.90.1.ebuild
+++ b/xfce-base/xfprint/xfprint-4.3.90.1.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/xfce-base/xfprint/xfprint-4.3.90.1.ebuild,v 1.1 2006/04/20 05:45:26 dostrow Exp $
+# $Header: /var/cvsroot/gentoo-x86/xfce-base/xfprint/xfprint-4.3.90.1.ebuild,v 1.2 2006/07/20 07:45:51 dostrow Exp $
inherit xfce44
@@ -10,10 +10,10 @@ DESCRIPTION="Xfce 4 print manager panel plugin"
LICENSE="BSD"
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86"
-IUSE="lpr cups"
+IUSE="lpr"
-RDEPEND="cups? ( net-print/cups )
- !cups? ( lpr? ( net-print/lprng ) )
+RDEPEND="!lpr? ( net-print/cups )
+ lpr? ( net-print/lprng )
>=dev-libs/glib-2.2
>=x11-libs/gtk+-2.2
~xfce-base/libxfce4mcs-${PV}
@@ -27,10 +27,10 @@ RDEPEND="cups? ( net-print/cups )
DEPEND="${RDEPEND}
~xfce-base/xfce-mcs-manager-${PV}"
-XFCE_CONFIG="$(use_enable cups)"
-
-if ! use cups; then
+if use lpr; then
XFCE_CONFIG="${XFCE_CONFIG} $(use_enable lpr bsdlpr)"
+else
+ XFCE_CONFIG="${XFCE_CONFIG} --enable-cups"
fi
xfce44_core_package