Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 9 Aug 2013 00:28:16 +0000 (UTC)
From:      "Thomas Mueller" <mueller6724@bellsouth.net>
To:        freebsd-ports@FreeBSD.org
Cc:        O.
Subject:   Re: ports/180648: ftp/curl 7.31.0 failed to compile with LDAP
Message-ID:  <849675.22816.bm@smtp117.sbc.mail.ne1.yahoo.com>

next in thread | raw e-mail | index | archive | help
> From: 	Stephane D'Alu <Stephane.DAlu@insa-lyon.fr> [submitter]
> To: 	bug-followup@FreeBSD.org, Stephane.Dalu@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




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