Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 79442 - cyrus-imapd won't compile drac support if specified in USE flags
Summary: cyrus-imapd won't compile drac support if specified in USE flags
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Net-Mail Packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-01-25 04:06 UTC by Andreas Gerstenberg
Modified: 2005-02-13 08:28 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
cyrus-imapd-2.2.10.diff (cyrus-imapd-2.2.10.diff,642 bytes, patch)
2005-01-25 12:16 UTC, Tuan Van (RETIRED)
Details | Diff
cyrus-imapd-2.2.10-drac.patch (cyrus-imapd-2.2.10-drac.patch,926 bytes, patch)
2005-01-25 12:18 UTC, Tuan Van (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Andreas Gerstenberg 2005-01-25 04:06:02 UTC
cyrus-imapd-2.2.10.ebuild won't compile with drac support with specified USE flag, the configure script don't like only "--with-dac". If "--with-drac=/usr/lib" is specified, everything works fine.

patch for cyrus-imapd-2.2.10.ebuild:
--- cyrus-imapd-2.2.10.ebuild.orig  2005-01-21 16:32:13.000000000 +0100
+++ cyrus-imapd-2.2.10.ebuild   2005-01-21 16:32:13.000000000 +0100
@@ -181,7 +181,6 @@
 src_compile() {
        local myconf
        myconf="${myconf} $(use_with afs)"
-       myconf="${myconf} $(use_with drac)"
        myconf="${myconf} $(use_with ssl openssl)"
        myconf="${myconf} $(use_with snmp ucdsnmp)"
        myconf="${myconf} $(use_with tcpd libwrap)"
@@ -193,6 +192,12 @@
                myconf="${myconf} --with-idle=poll"
        fi

+       if use drac; then
+               myconf="${myconf} --with-drac=/usr/lib"
+       else
+               myconf="${myconf} --without-drac"
+       fi
+
        econf \
                --enable-murder \
                --enable-listext \






Reproducible: Always
Steps to Reproduce:
1.
2.
3.
Comment 1 Carsten Lohrke (RETIRED) gentoo-dev 2005-01-25 05:56:41 UTC
Andreas: Please attach, don't inline.
Comment 2 Tuan Van (RETIRED) gentoo-dev 2005-01-25 12:16:14 UTC
Created attachment 49499 [details, diff]
cyrus-imapd-2.2.10.diff

I'd like to keep use_with so please test the attach ebuild. The patch for
drac.patch will follow.
Comment 3 Tuan Van (RETIRED) gentoo-dev 2005-01-25 12:18:09 UTC
Created attachment 49500 [details, diff]
cyrus-imapd-2.2.10-drac.patch

Please test. If it works, I'll commit it with some other changes that I am
working ATM to resolve couple other bugs. Thanks for reporting.
Comment 4 Fernando J. Pereda (RETIRED) gentoo-dev 2005-02-13 08:28:34 UTC
cyrus-imapd-2.2.10-r1 is on CVS. It'll be on the mirrors in a while. Includes this fix among other things.

Cheers,
Ferdy