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
_______________________________________________
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"

Reply via email to