ports/62690: Postfix with LDAP support fails to compile
Sergey A. Osokin
osa at freebsd.org.ru
Fri Feb 20 12:32:53 UTC 2004
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 at kcilink.com>
> To: freebsd-gnats-submit at FreeBSD.org, jb.quenot at 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
/ \
More information about the freebsd-ports-bugs
mailing list