ports/180648: ftp/curl 7.31.0 failed to compile with LDAP

Thomas Mueller mueller6724 at bellsouth.net
Fri Aug 9 00:31:18 UTC 2013


> From: 	Stephane D'Alu <Stephane.DAlu at insa-lyon.fr> [submitter]
> To: 	bug-followup at FreeBSD.org, Stephane.Dalu at insa-lyon.fr
> Date: 	Fri, 19 Jul 2013 12:23:22 +0200
> A fix seems to edit /usr/ports/Mk/bsd.ldap.mk
> to change:
> CFLAGS+= -DLDAP_DEPRECATED
> to:
> CPPFLAGS+= -DLDAP_DEPRECATED

> but i don't know the consequences on other ports

-- 
> Stephane D'Alu

I searched the problem report database and found the PR, 
tried the solution by modifying $PORTSDIR/Mk/bsd.ldap.mk
and it worked.

I was able to build/portmaster ftp/curl and ports that depended on ftp/curl.

I don't know if there would be adverse consequences on other ports, but
suspect CFLAGS instead of CPPFLAGS might have just been an error.

I previously sent this to freebsd-bugs and Stephane D'Alu, but I had asked about this some time back on freebsd-ports.

I originally inquired on this list about this problem on July 31, before searching the ports PR database.

Thomas Mueller



More information about the freebsd-ports mailing list