From owner-freebsd-ports-bugs@FreeBSD.ORG Tue Mar 26 23:10:01 2013 Return-Path: Delivered-To: freebsd-ports-bugs@smarthost.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 1B4E11AE for ; Tue, 26 Mar 2013 23:10:01 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) by mx1.freebsd.org (Postfix) with ESMTP id DCD27C1A for ; Tue, 26 Mar 2013 23:10:00 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.6/8.14.6) with ESMTP id r2QNA0sv020889 for ; Tue, 26 Mar 2013 23:10:00 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.6/8.14.6/Submit) id r2QNA0t2020888; Tue, 26 Mar 2013 23:10:00 GMT (envelope-from gnats) Resent-Date: Tue, 26 Mar 2013 23:10:00 GMT Resent-Message-Id: <201303262310.r2QNA0t2020888@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Hirohisa Yamaguchi Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 881CB173 for ; Tue, 26 Mar 2013 23:08:54 +0000 (UTC) (envelope-from umq@ueo.co.jp) Received: from msa04b.plala.or.jp (msa04.plala.or.jp [58.93.240.4]) by mx1.freebsd.org (Postfix) with ESMTP id 2B4ADBFF for ; Tue, 26 Mar 2013 23:08:53 +0000 (UTC) Received: from terpsichore.kaumoge.org ([125.205.160.110]) by msa04b.plala.or.jp with ESMTP id <20130326230840.TWXO10966.msa04b.plala.or.jp@terpsichore.kaumoge.org>; Wed, 27 Mar 2013 08:08:40 +0900 Received: from calliope.kaumoge.org (calliope.kaumoge.org [192.168.24.120]) by terpsichore.kaumoge.org (8.14.5/8.14.5/20101205) with ESMTP id r2QN8bek054448; Wed, 27 Mar 2013 08:08:37 +0900 (JST) (envelope-from umq@ueo.co.jp) Message-Id: <86hajxlpxm.wl%umq@ueo.co.jp> Date: Wed, 27 Mar 2013 08:08:37 +0900 From: Hirohisa Yamaguchi To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.113 Subject: ports/177401: Mk/bsd.ldap.mk move -DLDAP_DEPRECATED from CFLAGS to CPPFLAGS X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 26 Mar 2013 23:10:01 -0000 >Number: 177401 >Category: ports >Synopsis: Mk/bsd.ldap.mk move -DLDAP_DEPRECATED from CFLAGS to CPPFLAGS >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Tue Mar 26 23:10:00 UTC 2013 >Closed-Date: >Last-Modified: >Originator: Hirohisa Yamaguchi >Release: FreeBSD 9.1-RELEASE amd64 >Organization: >Environment: System: FreeBSD calliope.****.org 9.1-RELEASE FreeBSD 9.1-RELEASE #0 r243825: Tue Dec 4 09:23:10 UTC 2012 root@farrell.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC amd64 >Description: # this is a blocker of ports/177369 Recently, ftp/curl upstream introduced a sanity check on CFLAGS and CPPFLAGS[1,2]. This stops configure script[3]. As changing CFLAGS to CPPFLAGS worked for ports/177369, I'd like to request exp-run for the whole tree. [1] https://github.com/bagder/curl/commit/c691037517a969891592e9dbae0a6ed615041881 [2] https://github.com/bagder/curl/commit/9d1effad0524bcb4763e06659b728ba134464608 [3] https://redports.org/~umq/20130325093420-88623-109924/curl-7.29.0.log >How-To-Repeat: N/A >Fix: The patch follows: Index: Mk/bsd.ldap.mk =================================================================== --- Mk/bsd.ldap.mk (revision 315337) +++ Mk/bsd.ldap.mk (working copy) @@ -64,7 +64,7 @@ .endif .endif -CFLAGS+= -DLDAP_DEPRECATED +CPPFLAGS+= -DLDAP_DEPRECATED _OPENLDAP_CLIENT_PKG!= ${PKG_INFO} -Ex openldap.\*-client 2>/dev/null || ${TRUE} _OPENLDAP_FLAVOUR= ${_OPENLDAP_CLIENT_PKG:C/openldap//:C/-client-.*//} >Release-Note: >Audit-Trail: >Unformatted: