Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 19 Jul 2013 08:46:07 GMT
From:      Stephane DAlu <Stephane.Dalu@insa-lyon.fr>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/180648: curl 7.31.0 failed to compile with LDAP 
Message-ID:  <201307190846.r6J8k7Ks087345@oldred.freebsd.org>
Resent-Message-ID: <201307190850.r6J8o1vI024718@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         180648
>Category:       ports
>Synopsis:       curl 7.31.0 failed to compile with LDAP
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Fri Jul 19 08:50:00 UTC 2013
>Closed-Date:
>Last-Modified:
>Originator:     Stephane DAlu
>Release:        9.1
>Organization:
INSA
>Environment:
FreeBSD mil.citi.insa-lyon.fr 9.1-RELEASE FreeBSD 9.1-RELEASE #2 r245505: Thu Jan 17 10:43:17 CET 2013     root@mil.citi.insa-lyon.fr:/usr/obj/usr/src/sys/MIL  amd64

>Description:
Some sanity check are triggered during configure to force use of CPPFLAGS (instead of actual CFLAGS) for -DLDAP_DEPRECATED

configure: using CFLAGS: -O2 -pipe -DLDAP_DEPRECATED -fno-strict-aliasing
configure: CFLAGS error: CFLAGS may only be used to specify C compiler flags, not macro definitions. Use CPPFLAGS for: -DLDAP_DEPRECATED
configure: error: Can not continue. Fix errors mentioned immediately above this line.

>How-To-Repeat:
$ cd /usr/ports/ftp/curl
$ make config

enable LDAP

$ make
>Fix:


>Release-Note:
>Audit-Trail:
>Unformatted:



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