[MacPorts] #25615: postfix-2.7.1 build error when selecting variant dovecot_sasl
MacPorts
noreply at macports.org
Sat Jul 10 06:09:17 PDT 2010
#25615: postfix-2.7.1 build error when selecting variant dovecot_sasl
---------------------------------------+------------------------------------
Reporter: Markus.Ueberall@… | Owner: macports-tickets@…
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 1.9.1
Keywords: haspatch | Port: postfix
---------------------------------------+------------------------------------
With changeset [68844], a number of "{{{set CCARGS [concat ${CCARGS}
...]"}}} blocks got replaced by the more elegant "{{{lappend CCARGS
...}}}" equivalent--however, the dovecot_sasl variant definition below is
problematic:
{{{
variant dovecot_sasl description "add Dovecot SASL support " {
lappend CCARGS -DUSE_SASL_AUTH
-DDEF_SERVER_SASL_TYPE=\\\\\\"dovecot\\\\\\"
}
}}}
According to the logfile, this becomes
{{{
:info:build /usr/bin/gcc-4.2 -DNO_PCRE -arch x86_64 -DUSE_TLS -DHAS_SSL
-I/opt/local/include -DUSE_CYRUS_SASL -DUSE_SASL_AUTH
-I/opt/local/include/sasl -DUSE_SASL_AUTH
{-DDEF_SERVER_SASL_TYPE=\\\"dovecot\\\"} -DBIND_8_COMPAT -DNO_NETINFO
-DRESOLVE_H_NEEDS_ARPA_NAMESER_COMPAT_H -DNO_KQUEUE -g -O2 -I. -DMACOSX -c
alldig.c
:info:build /usr/bin/gcc-4.2 -DNO_PCRE -arch x86_64 -DUSE_TLS -DHAS_SSL
-I/opt/local/include -DUSE_CYRUS_SASL -DUSE_SASL_AUTH
-I/opt/local/include/sasl -DUSE_SASL_AUTH
{-DDEF_SERVER_SASL_TYPE=\\\"dovecot\\\"} -DBIND_8_COMPAT -DNO_NETINFO
-DRESOLVE_H_NEEDS_ARPA_NAMESER_COMPAT_H -DNO_KQUEUE -g -O2 -I. -DMACOSX -c
allprint.c
:info:build i686-apple-darwin10-gcc-4.2.1:
{-DDEF_SERVER_SASL_TYPE=\"dovecot\"}: No such file or directory
:info:build i686-apple-darwin10-gcc-4.2.1:
{-DDEF_SERVER_SASL_TYPE=\"dovecot\"}: No such file or directory
}}}
Removing the numerous escape chars did the trick (cf. attached diff).
--
Ticket URL: <http://trac.macports.org/ticket/25615>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
More information about the macports-tickets
mailing list