summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--net-mail/cyrus-imap-admin/ChangeLog6
-rw-r--r--net-mail/cyrus-imap-admin/cyrus-imap-admin-2.2.3.ebuild10
-rw-r--r--net-mail/cyrus-imap-admin/files/cyrus-imap-admin-2.2.3-fPIC.patch22
3 files changed, 34 insertions, 4 deletions
diff --git a/net-mail/cyrus-imap-admin/ChangeLog b/net-mail/cyrus-imap-admin/ChangeLog
index 5712ebbfc68a..234f31275103 100644
--- a/net-mail/cyrus-imap-admin/ChangeLog
+++ b/net-mail/cyrus-imap-admin/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for net-mail/cyrus-imap-admin
# Copyright 2002-2004 Gentoo Technologies, Inc.; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-mail/cyrus-imap-admin/ChangeLog,v 1.21 2004/02/22 16:14:26 agriffis Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-mail/cyrus-imap-admin/ChangeLog,v 1.22 2004/03/30 13:17:28 aliz Exp $
+
+ 30 Mar 2004; Daniel Ahlberg <aliz@gentoo.org> cyrus-imap-admin-2.2.3.ebuild,
+ files/cyrus-imap-admin-2.2.3-fPIC.patch:
+ Adding amd64 keyword. Closing #45810.
22 Feb 2004; Aron Griffis <agriffis@gentoo.org>
cyrus-imap-admin-2.1.12.ebuild, cyrus-imap-admin-2.1.13.ebuild,
diff --git a/net-mail/cyrus-imap-admin/cyrus-imap-admin-2.2.3.ebuild b/net-mail/cyrus-imap-admin/cyrus-imap-admin-2.2.3.ebuild
index 76efc90a5454..0040e282a0e5 100644
--- a/net-mail/cyrus-imap-admin/cyrus-imap-admin-2.2.3.ebuild
+++ b/net-mail/cyrus-imap-admin/cyrus-imap-admin-2.2.3.ebuild
@@ -1,8 +1,8 @@
# Copyright 1999-2004 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-mail/cyrus-imap-admin/cyrus-imap-admin-2.2.3.ebuild,v 1.2 2004/01/30 07:04:05 drobbins Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-mail/cyrus-imap-admin/cyrus-imap-admin-2.2.3.ebuild,v 1.3 2004/03/30 13:17:28 aliz Exp $
-inherit perl-module eutils
+inherit perl-module eutils gnuconfig
DESCRIPTION="Utilities and Perl modules to administer a Cyrus IMAP server."
HOMEPAGE="http://asg.web.cmu.edu/cyrus/imapd/"
@@ -10,7 +10,7 @@ SRC_URI="ftp://ftp.andrew.cmu.edu/pub/cyrus-mail/cyrus-imapd-${PV}.tar.gz"
LICENSE="as-is"
SLOT="0"
-KEYWORDS="~x86"
+KEYWORDS="~x86 ~amd64"
IUSE="ssl kerberos"
RDEPEND=">=sys-libs/db-3.2
@@ -44,9 +44,13 @@ src_unpack() {
# When linking with rpm, you need to link with more libraries.
sed -e "s:lrpm:lrpm -lrpmio -lrpmdb:" -i configure || die "sed failed"
+
+ epatch ${FILESDIR}/${P}-fPIC.patch
}
src_compile() {
+ gnuconfig_update
+
local myconf
myconf="${myconf} `use_with ssl openssl`"
myconf="${myconf} `use_with kerberos gssapi`"
diff --git a/net-mail/cyrus-imap-admin/files/cyrus-imap-admin-2.2.3-fPIC.patch b/net-mail/cyrus-imap-admin/files/cyrus-imap-admin-2.2.3-fPIC.patch
new file mode 100644
index 000000000000..51e26a94285e
--- /dev/null
+++ b/net-mail/cyrus-imap-admin/files/cyrus-imap-admin-2.2.3-fPIC.patch
@@ -0,0 +1,22 @@
+--- lib/Makefile.in 2004-03-30 13:11:28.544776470 +0000
++++ lib/Makefile.in 2004-03-30 13:11:39.242146165 +0000
+@@ -114,7 +114,7 @@
+ done
+
+ .c.o:
+- $(CC) -c $(CPPFLAGS) $(DEFS) -I$(srcdir) -I. $(CFLAGS) \
++ $(CC) -fPIC -c $(CPPFLAGS) $(DEFS) -I$(srcdir) -I. $(CFLAGS) \
+ $<
+
+ libcyrus.a: $(LIBCYR_OBJS)
+--- perl/sieve/lib/Makefile.in 2004-03-30 13:14:38.087172803 +0000
++++ perl/sieve/lib/Makefile.in 2004-03-30 13:14:47.295908694 +0000
+@@ -72,7 +72,7 @@
+ install:
+
+ .c.o:
+- $(CC) -c $(CPPFLAGS) $(DEFS) $(CFLAGS) $<
++ $(CC) -fPIC -c $(CPPFLAGS) $(DEFS) $(CFLAGS) $<
+
+ libisieve.a: $(OBJS)
+ rm -f libisieve.a