|
|
@ -22,5 +22,17 @@ |
|
|
|
|
|
|
|
var_append confopt ' ' '--enable-imap' |
|
|
|
var_append confopt ' ' '--enable-pop' |
|
|
|
[ -f $root/var/adm/packages/openssl ] && var_append confopt ' ' '--with-ssl' |
|
|
|
[ -f $root/var/adm/packages/cyrus-sasl ] && var_append confopt ' ' '--with-sasl=/usr/include/sasl' |
|
|
|
pkginstalled gpgme && var_append confopt ' ' '--enable-gpgme' |
|
|
|
|
|
|
|
if pkginstalled openssl ; then |
|
|
|
var_append confopt ' ' '--with-ssl' |
|
|
|
elif pkginstalled gnutls ; then |
|
|
|
var_append confopt ' ' '--with-gnutls' |
|
|
|
fi |
|
|
|
|
|
|
|
if pkginstalled cyrus-sasl2 ; then |
|
|
|
var_append confopt ' ' '--with-sasl' |
|
|
|
else |
|
|
|
var_append confopt ' ' '--without-sasl' |
|
|
|
fi |
|
|
|
|