Postfix and SASL compilation problem

Ján Šebošík sebosik at itm8.sk
Tue Sep 25 07:49:54 UTC 2012


Hi

I'll test it probably today / tomorrow, and let you know later.

Regards,
  Jan

On Tue, Sep 25, 2012 at 3:57 AM, Sahil Tandon
<sahil+freebsd-ports at tandon.net> wrote:
> On Wed, 2012-09-12 at 12:36:47 +0200, Ján Šebošík wrote:
>
>> while I was trying to build ports/mail/postfix, the problem occured
>> in file ./work/postfix-2.9.4/src/global/dict_ldap.c.
>>
>> Line 232 in postfix-2.9.4/src/global/dict_ldap.c doesn't contain
>> proper path to sasl.h header file on FreeBSD.
>> Fixed line should look like this: #include <sasl/sasl.h>
>>
>>  Here is the patch:
>>  ###################
>>  --- dict_ldap.c.old     2012-09-11 00:39:40.000000000 +0200
>>  +++ dict_ldap.c 2012-09-11 00:22:56.000000000 +0200
>>  @@ -229,7 +229,7 @@
>>    /*
>>     * SASL headers, for sasl_interact_t. Either SASL v1 or v2 should be fine.
>>     */
>>  -#include <sasl.h>
>>  +#include <sasl/sasl.h>
>>   #endif
>
> Rather, the idiomatic approach is to add ${LOCALBASE}/include/sasl to
> the preprocessor's include path.  This is done when WITH_SASL2 is
> defined.  Does that produce undesirable results in your environment?
>
> PS: sorry for the delayed reply; I hope to be quicker in response to
>     any follow-ups.
>
> --
> Sahil Tandon



-- 
Bc. Ján Šebošík
technické oddelenie
ITM8 - www.itm8.sk
tel: 00421 903 469259
mail: sebosik at itm8.sk


More information about the freebsd-ports mailing list