diff options
Diffstat (limited to 'network/postfix/postfix.SlackBuild')
-rw-r--r-- | network/postfix/postfix.SlackBuild | 30 |
1 files changed, 15 insertions, 15 deletions
diff --git a/network/postfix/postfix.SlackBuild b/network/postfix/postfix.SlackBuild index 80884b1e56..1516315266 100644 --- a/network/postfix/postfix.SlackBuild +++ b/network/postfix/postfix.SlackBuild @@ -23,7 +23,7 @@ # Modified by Mario Preksavec <mario@slackware.hr> PRGNAM=postfix -VERSION=${VERSION:-2.11.1} +VERSION=${VERSION:-2.11.3} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -57,30 +57,30 @@ fi # Build with dovecot sasl by default, cyrus/dovecot are supported SASL=${SASL:-dovecot} case "$SASL" in - dovecot) SASLARGS='-DDEF_SERVER_SASL_TYPE=\"dovecot\"' - SASLLIBS='' ;; - cyrus) SASLARGS='-I/usr/include/sasl -DUSE_CYRUS_SASL' - SASLLIBS='-L/usr/lib${LIBDIRSUFFIX}/sasl2 -lsasl2' ;; - *) SASLARGS='' - SASLLIBS='' ;; + dovecot) SASLARGS="-DDEF_SERVER_SASL_TYPE=\\\"dovecot\\\"" + SASLLIBS="" ;; + cyrus) SASLARGS="-I/usr/include/sasl -DUSE_CYRUS_SASL" + SASLLIBS="-L/usr/lib${LIBDIRSUFFIX}/sasl2 -lsasl2" ;; + *) SASLARGS="" + SASLLIBS="" ;; esac # Build without database support by default DATABASE=${DATABASE:-none} case "$DATABASE" in - mysql) DBARGS='-I/usr/include/mysql -DHAS_MYSQL' - DBLIBS='-L/usr/lib${LIBDIRSUFFIX}/mysql -lmysqlclient -lz -lm' ;; - *) DBARGS='' - DBLIBS='' ;; + mysql) DBARGS="-I/usr/include/mysql -DHAS_MYSQL" + DBLIBS="-L/usr/lib${LIBDIRSUFFIX}/mysql -lmysqlclient -lz -lm" ;; + *) DBARGS="" + DBLIBS="" ;; esac # Build without ldap support by default LDAP=${LDAP:-no} case "$LDAP" in - yes) LDAPARGS='-DHAS_LDAP -DUSE_LDAP_SASL' - LDAPLIBS='-lldap -llber' ;; - *) LDAPARGS='' - LDAPLIBS='' ;; + yes) LDAPARGS="-DUSE_LDAP_SASL -DHAS_LDAP" + LDAPLIBS="-lldap -llber" ;; + *) LDAPARGS="" + LDAPLIBS="" ;; esac # MySQL compile hack |