ports/177401: Mk/bsd.ldap.mk move -DLDAP_DEPRECATED from CFLAGS to CPPFLAGS

Hirohisa Yamaguchi umq at ueo.co.jp
Tue Mar 26 23:10:01 UTC 2013


>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:
<organization of PR author (multiple lines)>
>Environment:
System: FreeBSD calliope.****.org 9.1-RELEASE FreeBSD 9.1-RELEASE #0 r243825: Tue Dec 4 09:23:10 UTC 2012 root at 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:


More information about the freebsd-ports-bugs mailing list