From owner-freebsd-ports@FreeBSD.ORG  Tue Sep 25 07:49:54 2012
Return-Path: <owner-freebsd-ports@FreeBSD.ORG>
Delivered-To: freebsd-ports@freebsd.org
Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52])
	by hub.freebsd.org (Postfix) with ESMTP id BAD4C106566C
	for <freebsd-ports@freebsd.org>; Tue, 25 Sep 2012 07:49:54 +0000 (UTC)
	(envelope-from sebosik@itm8.sk)
Received: from mail-ie0-f182.google.com (mail-ie0-f182.google.com
	[209.85.223.182])
	by mx1.freebsd.org (Postfix) with ESMTP id 7EE258FC08
	for <freebsd-ports@freebsd.org>; Tue, 25 Sep 2012 07:49:54 +0000 (UTC)
Received: by ieak10 with SMTP id k10so14053055iea.13
	for <freebsd-ports@freebsd.org>; Tue, 25 Sep 2012 00:49:53 -0700 (PDT)
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
	d=google.com; s=20120113;
	h=mime-version:x-originating-ip:in-reply-to:references:date
	:message-id:subject:from:to:content-type:content-transfer-encoding
	:x-gm-message-state;
	bh=JYY/7x6aiIMxWLLlzNJQvQvhFm0Qm0QgBdm7W1pQirg=;
	b=YwMLgrQfk37RdoFQ3E4dmz+aMglCGyRjGWBZwJSEKyHjeSI8baRQfh81itvItnDzFG
	Lp0PXjyxOamMIu0V0joGxFcSzz1XhAKayERDT+7yo3F9JACG0DKCgcpcNi6BRGaJNQIG
	7lGLsT76Y7zOhSJ0JXvPCkrP1XLwB11BkmwgoVAOqwqWvMfpxscoN4u7LKVrOe6Xg3Qu
	vwRSSttwebBppdAvgqAt2zO9EQ3YV9BjCPQwoEx7vWK7RllH5ig6l4ZV8pdCal89qqve
	cjICyKoTxVJS0TbulKTzT/+sFGqV4l1L1yylpTMrBwsLKOWXwPF2bqc40VAHsBm5fQwk
	n6iw==
MIME-Version: 1.0
Received: by 10.50.157.201 with SMTP id wo9mr7387619igb.57.1348559393631; Tue,
	25 Sep 2012 00:49:53 -0700 (PDT)
Received: by 10.64.23.201 with HTTP; Tue, 25 Sep 2012 00:49:53 -0700 (PDT)
X-Originating-IP: [198.36.86.81]
In-Reply-To: <20120925015707.GA7874@magic.hamla.org>
References: <CAK+pXF2fOASnXir71FX0mzxfEfcKaHTLfjSXZ0AJeK26cDGU=A@mail.gmail.com>
	<20120925015707.GA7874@magic.hamla.org>
Date: Tue, 25 Sep 2012 09:49:53 +0200
Message-ID: <CAK+pXF07XXuHWt+5QQ=QZ=MNOnqjb=Z2JhKUh0c4P72W6RS_Wg@mail.gmail.com>
From: =?ISO-8859-2?B?SuFuIKllYm+57Ws=?= <sebosik@itm8.sk>
To: freebsd-ports@freebsd.org
Content-Type: text/plain; charset=ISO-8859-2
Content-Transfer-Encoding: quoted-printable
X-Gm-Message-State: ALoCoQmc9rggFsoWsTfJZsGl1sQqaJxgYkPP4N1sh2XliLuSFFUOmo9EpeqbUcVqWLpPeczGbO7p
Subject: Re: Postfix and SASL compilation problem
X-BeenThere: freebsd-ports@freebsd.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Porting software to FreeBSD <freebsd-ports.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-ports>,
	<mailto:freebsd-ports-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-ports>
List-Post: <mailto:freebsd-ports@freebsd.org>
List-Help: <mailto:freebsd-ports-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-ports>,
	<mailto:freebsd-ports-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Tue, 25 Sep 2012 07:49:54 -0000

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@tandon.net> wrote:
> On Wed, 2012-09-12 at 12:36:47 +0200, J=E1n =A9ebo=B9=EDk 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



--=20
Bc. J=E1n =A9ebo=B9=EDk
technick=E9 oddelenie
ITM8 - www.itm8.sk
tel: 00421 903 469259
mail: sebosik@itm8.sk