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.
Andreas: Please attach, don't inline.
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.
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.
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