summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'net-print/cups/cups-1.2.12-r3.ebuild')
-rw-r--r--net-print/cups/cups-1.2.12-r3.ebuild7
1 files changed, 6 insertions, 1 deletions
diff --git a/net-print/cups/cups-1.2.12-r3.ebuild b/net-print/cups/cups-1.2.12-r3.ebuild
index a246263902e5..4d95419521a5 100644
--- a/net-print/cups/cups-1.2.12-r3.ebuild
+++ b/net-print/cups/cups-1.2.12-r3.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-print/cups/cups-1.2.12-r3.ebuild,v 1.8 2007/12/10 17:53:30 armin76 Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-print/cups/cups-1.2.12-r3.ebuild,v 1.9 2007/12/26 16:55:59 cardoe Exp $
WANT_AUTOMAKE=latest
@@ -98,6 +98,11 @@ src_unpack() {
src_compile() {
export DSOFLAGS="${LDFLAGS}"
+
+ if use ldap; then
+ append-flags -DLDAP_DEPRECATED
+ fi
+
econf \
--with-cups-user=lp \
--with-cups-group=lp \