Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 28077 Details for
Bug 45810
cyrus-imap-admin compile problem -fPIC
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
New ebuild to use amd64-fPIC patch
cyrus-imap-admin-2.1.14.ebuild (text/plain), 3.32 KB, created by
Danny van Dyk (RETIRED)
on 2004-03-26 10:01:03 UTC
(
hide
)
Description:
New ebuild to use amd64-fPIC patch
Filename:
MIME Type:
Creator:
Danny van Dyk (RETIRED)
Created:
2004-03-26 10:01:03 UTC
Size:
3.32 KB
patch
obsolete
># Copyright 1999-2004 Gentoo Technologies, Inc. ># Distributed under the terms of the GNU General Public License v2 ># $Header: /home/cvsroot/gentoo-x86/net-mail/cyrus-imap-admin/cyrus-imap-admin-2.1.14.ebuild,v 1.7 2004/02/22 16:14:26 agriffis Exp $ > >inherit perl-module eutils > >IPV6_P="cyrus-imapd-2.1.14-ipv6-20030703" >S=${WORKDIR}/cyrus-imapd-${PV} > >IUSE="afs snmp ssl kerberos ipv6" > >DESCRIPTION="Utilities to administer a Cyrus IMAP Server (includes Perl modules)" >HOMEPAGE="http://asg.web.cmu.edu/cyrus/imapd/" >SRC_URI="ftp://ftp.andrew.cmu.edu/pub/cyrus-mail/OLD-VERSIONS/imap/cyrus-imapd-${PV}.tar.gz > ipv6? ( http://www.imasy.or.jp/~ume/ipv6/${IPV6_P}.diff.gz )" > >LICENSE="as-is" >SLOT="0" >KEYWORDS="x86 -ppc -sparc ~amd64" > >PROVIDE="virtual/imapd" >DEPEND="virtual/glibc > afs? ( >=net-fs/openafs-1.2.2 ) > snmp? ( >=net-analyzer/ucd-snmp-4.2.3 ) > ssl? ( >=dev-libs/openssl-0.9.6 ) > kerberos? ( >=app-crypt/mit-krb5-1.2.6 ) > >=dev-lang/perl-5.6.1 > >=sys-libs/db-3.2 > >=sys-libs/pam-0.75 > >=dev-libs/cyrus-sasl-2.1.14 > >=sys-apps/tcp-wrappers-7.6 > dev-perl/Term-ReadLine-Perl > dev-perl/TermReadKey > sys-libs/libtermcap-compat" > >src_unpack() { > unpack ${A} > cd ${S} > > # patch for db4 detection and their respective versioned symbols > epatch ${FILESDIR}/2.1.14-db4.patch > > # add libwrap defines as we don't have a dynamicly linked library. > epatch ${FILESDIR}/cyrus-imap-admin-2.1.12-libwrap.patch > > # Does running autoconf squash any of this? > use ipv6 && epatch ${WORKDIR}/${IPV6_P}.diff > > libtoolize --copy --force > aclocal -I cmulocal || die > autoheader || die > autoconf || die > > # remove spurious -I/usr/includes which make configure tests fail > epatch ${FILESDIR}/cyrus-imapd-2.1.12-includepath.patch > > # when linking with rpm, you need to link with more libraries. > cp configure configure.orig > sed -e "s:lrpm:lrpm -lrpmio -lrpmdb:" \ > < configure.orig > configure >} > >src_compile() { > local myconf > > use afs && myconf="--with-afs" \ > || myconf="--without-afs" > > use snmp && myconf="${myconf} --with-ucdsnmp=/usr" \ > || myconf="${myconf} --without-ucdsnmp" > > use ssl && myconf="${myconf} --with-openssl=/usr" \ > || myconf="${myconf} --without-openssl" > > # Kerberos IV is not working in cyrus-sasl so it's not enabled here. Only Kerberos V. > #use kerberos && myconf="${myconf} --with-krb=/usr/athena --with-auth=krb --enable-gssapi" \ > # || myconf="${myconf} --without-krb --with-auth=unix --disable-gssapi" > > use kerberos && myconf="${myconf} --with-auth=krb --enable-gssapi" \ > || myconf="${myconf} --without-krb --with-auth=unix --disable-gssapi" > > econf \ > --enable-listext \ > --with-cyrus-group=mail \ > --enable-netscapehack \ > --with-com_err=yes \ > --with-perl=/usr/bin/perl \ > --enable-cyradm \ > --with-libwrap=/usr \ > ${myconf} || die "bad ./configure" > > # make depends break with -f... in CFLAGS > make depend CFLAGS="" || die "make depend problem" > > # patch -fPIC to makefile on amd64 as append-flag -fPIC doesnt work > use amd64 && epatch ${FILESDIR}/cyrus-imap-admin-2.1.14-amd64-fPIC.patch > > cd ${S}/lib > make || die "compile problem" > cd ${S}/perl > make || die "compile problem" >} > >src_install () { > echo "Installation of perl-modules" > export DESTDIR=${D} > cd ${S}/perl/imap > perl-module_src_prep > perl-module_src_compile > perl-module_src_install > cd ${S}/perl/sieve > perl-module_src_prep > perl-module_src_compile > perl-module_src_test > perl-module_src_install >}
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 45810
:
28076
|
28077
|
28082
|
28083