|
Lines 112-118
Link Here
|
| 112 |
myconf="${myconf} `use_enable java` `use_with java javahome ${JAVA_HOME}`" |
112 |
myconf="${myconf} `use_enable java` `use_with java javahome ${JAVA_HOME}`" |
| 113 |
# Add authdaemond support (bug #56523). |
113 |
# Add authdaemond support (bug #56523). |
| 114 |
if use authdaemond ; then |
114 |
if use authdaemond ; then |
| 115 |
myconf="${myconf} --with-authdaemond=/var/lib/courier/authdaemon/socket" |
115 |
myconf="${myconf} --with-authdaemond=${EPREFIX}/var/lib/courier/authdaemon/socket" |
| 116 |
fi |
116 |
fi |
| 117 |
|
117 |
|
| 118 |
# Fix for bug #59634. |
118 |
# Fix for bug #59634. |
|
Lines 141-152
Link Here
|
| 141 |
# Use /dev/urandom instead of /dev/random (bug #46038). |
141 |
# Use /dev/urandom instead of /dev/random (bug #46038). |
| 142 |
use urandom && myconf="${myconf} --with-devrandom=/dev/urandom" |
142 |
use urandom && myconf="${myconf} --with-devrandom=/dev/urandom" |
| 143 |
|
143 |
|
|
|
144 |
# Explicitly disable building a framework on osx |
| 145 |
[[ ${CHOST} == *-darwin* ]] && |
| 146 |
myconf="${myconf} --disable-macos-framework" |
| 147 |
|
| 144 |
econf \ |
148 |
econf \ |
| 145 |
--with-saslauthd=/var/lib/sasl2 \ |
149 |
--with-saslauthd="${EPREFIX}"/var/lib/sasl2 \ |
| 146 |
--with-pwcheck=/var/lib/sasl2 \ |
150 |
--with-pwcheck="${EPREFIX}"/var/lib/sasl2 \ |
| 147 |
--with-configdir=/etc/sasl2 \ |
151 |
--with-configdir="${EPREFIX}"/etc/sasl2 \ |
| 148 |
--with-plugindir=/usr/$(get_libdir)/sasl2 \ |
152 |
--with-plugindir="${EPREFIX}"/usr/$(get_libdir)/sasl2 \ |
| 149 |
--with-dbpath=/etc/sasl2/sasldb2 \ |
153 |
--with-dbpath="${EPREFIX}"/etc/sasl2/sasldb2 \ |
| 150 |
${myconf} || die "econf failed" |
154 |
${myconf} || die "econf failed" |
| 151 |
|
155 |
|
| 152 |
# We force -j1 for bug #110066. |
156 |
# We force -j1 for bug #110066. |