summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Schweizer <genstef@gentoo.org>2006-01-14 23:01:30 +0000
committerStefan Schweizer <genstef@gentoo.org>2006-01-14 23:01:30 +0000
commited5af46360bba2f3726f793d925d3a769fef3ee6 (patch)
tree794115ce0c33f028f7ffd61015b6bc10d37d8cac /net-print/lprng
parentPatch to fix -toc and segfault thanks to Ed Catmur <ed@catmur.co.uk> in bug 1... (diff)
downloadgentoo-2-ed5af46360bba2f3726f793d925d3a769fef3ee6.tar.gz
gentoo-2-ed5af46360bba2f3726f793d925d3a769fef3ee6.tar.bz2
gentoo-2-ed5af46360bba2f3726f793d925d3a769fef3ee6.zip
Fix configure flags thanks to Henrik Sankala <hensan@gentoo.se> and Ryan Hendrickson <rhendric@mit.edu> in bugs 111655 and 112408
(Portage version: 2.1_pre3-r1)
Diffstat (limited to 'net-print/lprng')
-rw-r--r--net-print/lprng/ChangeLog8
-rw-r--r--net-print/lprng/lprng-3.8.28.ebuild21
2 files changed, 13 insertions, 16 deletions
diff --git a/net-print/lprng/ChangeLog b/net-print/lprng/ChangeLog
index d2c0b810dd03..e25a4be03c3a 100644
--- a/net-print/lprng/ChangeLog
+++ b/net-print/lprng/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for net-print/lprng
-# Copyright 2002-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-print/lprng/ChangeLog,v 1.39 2005/08/03 03:15:45 metalgod Exp $
+# Copyright 2002-2006 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/net-print/lprng/ChangeLog,v 1.40 2006/01/14 23:01:30 genstef Exp $
+
+ 14 Jan 2006; Stefan Schweizer <genstef@gentoo.org> lprng-3.8.28.ebuild:
+ Fix configure flags thanks to Henrik Sankala <hensan@gentoo.se> and Ryan
+ Hendrickson <rhendric@mit.edu> in bugs 111655 and 112408
*lprng-3.8.28 (03 Aug 2005)
diff --git a/net-print/lprng/lprng-3.8.28.ebuild b/net-print/lprng/lprng-3.8.28.ebuild
index ec1215278dba..14da17d2ab72 100644
--- a/net-print/lprng/lprng-3.8.28.ebuild
+++ b/net-print/lprng/lprng-3.8.28.ebuild
@@ -1,6 +1,6 @@
-# Copyright 1999-2005 Gentoo Foundation
+# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-print/lprng/lprng-3.8.28.ebuild,v 1.1 2005/08/03 03:15:45 metalgod Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-print/lprng/lprng-3.8.28.ebuild,v 1.2 2006/01/14 23:01:30 genstef Exp $
inherit eutils flag-o-matic
@@ -24,7 +24,7 @@ RDEPEND="virtual/libc
DEPEND="${RDEPEND}
nls? ( sys-devel/gettext )
- kerberos? ( virtual/krb5 )"
+ kerberos? ( app-crypt/mit-krb5 )"
LICENSE="|| ( GPL-2 Artistic )"
SLOT="0"
@@ -36,20 +36,13 @@ src_unpack() {
}
src_compile() {
- local myconf
- use nls && myconf="--enable-nls"
- use kerberos && myconf="--enable-kerberos"
- if use ssl;
- then
- myconf="--enable-ssl"
- else
- myconf="--disable-ssl"
- fi
-
# wont compile with -O3, needs -O2
replace-flags -O[3-9] -O2
./configure \
+ $(use_enable nls) \
+ $(use_enable kerberos) \
+ $(use_enable ssl) \
--prefix=/usr \
--disable-setuid \
--with-userid=lp \
@@ -59,7 +52,7 @@ src_compile() {
--libexecdir=/usr/lib \
--sysconfdir=/etc/lprng \
--mandir=/usr/share/man \
- --host=${CHOST} ${myconf} || die
+ --host=${CHOST} || die
make || die "printer on fire!"
}