Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 20 Feb 2004 15:32:50 +0300
From:      "Sergey A. Osokin" <osa@freebsd.org.ru>
To:        Vivek Khera <khera@kcilink.com>
Cc:        freebsd-ports-bugs@FreeBSD.org
Subject:   Re: ports/62690: Postfix with LDAP support fails to compile
Message-ID:  <20040220123250.GD49750@freebsd.org.ru>
In-Reply-To: <200402191540.i1JFeHlF001973@freefall.freebsd.org>
References:  <200402191540.i1JFeHlF001973@freefall.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, Feb 19, 2004 at 07:40:17AM -0800, Vivek Khera wrote:
> The following reply was made to PR ports/62690; it has been noted by GNATS.
> 
> From: Vivek Khera <khera@kcilink.com>
> To: freebsd-gnats-submit@FreeBSD.org, jb.quenot@caraldi.com
> Cc:  
> Subject: Re: ports/62690: Postfix with LDAP support fails to compile
> Date: Thu, 19 Feb 2004 10:34:18 -0500
> 
>  I agree with this patch.  Please commit it.

I would like to commit following patch, its also fix build problem
with openldap20, please review and approve.
Thanks.

Index: ports/mail/postfix/scripts/configure.postfix
===================================================================
RCS file: /home/pcvs/ports/mail/postfix/scripts/configure.postfix,v
retrieving revision 1.42
diff -u -u -r1.42 configure.postfix
--- ports/mail/postfix/scripts/configure.postfix	30 Jan 2004 19:28:45 -0000	1.42
+++ ports/mail/postfix/scripts/configure.postfix	20 Feb 2004 12:30:46 -0000
@@ -194,13 +194,13 @@
 		OpenLDAP20)
 			echo "BUILD_DEPENDS+=	\${LOCALBASE}/lib/libldap.a:\${PORTSDIR}/net/openldap20-client"
 			echo "POSTFIX_CCARGS+=	-DHAS_LDAP -I\${LOCALBASE}/include"
- 			echo "POSTFIX_AUXLIBS+=	-lldap -llber"
+ 			echo "POSTFIX_AUXLIBS+=	-L\${LOCALBASE}/lib -lldap -llber"
 			echo "OPENLDAP_SUFFIX=	+openldap20"
 			;;
 		OpenLDAP21)
 			echo "BUILD_DEPENDS+=	\${LOCALBASE}/lib/libldap.a:\${PORTSDIR}/net/openldap21-client"
  			echo "POSTFIX_CCARGS+=	-DHAS_LDAP -I\${LOCALBASE}/include"
- 			echo "POSTFIX_AUXLIBS+=	-lldap -llber"
+ 			echo "POSTFIX_AUXLIBS+=	-L\${LOCALBASE}/lib -lldap -llber"
  			echo "OPENLDAP_SUFFIX=	+openldap21"
 			;;
 		Test)

-- 

Regards,                 /"\  ascii ribbon campaign
Sergey "ozz" Osokin,     \ /    against html mail
http://ozz.pp.ru/         X         and news
                         / \



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040220123250.GD49750>