ports/87420: Update Mk/bsd.port.mk implementing WITH_OPENLDAP_VER to use in make.conf

Marcus Alves Grando mnag at FreeBSD.org
Fri Oct 14 02:00:32 UTC 2005


>Number:         87420
>Category:       ports
>Synopsis:       Update Mk/bsd.port.mk implementing WITH_OPENLDAP_VER to use in make.conf
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Fri Oct 14 02:00:29 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator:     Marcus Alves Grando
>Release:        FreeBSD 6.0-RC1 i386
>Organization:
>Environment:
System: FreeBSD marcus.grupos.com.br 6.0-RC1 FreeBSD 6.0-RC1 #48: Thu Oct 13 13:24:28 BRT 2005 root at marcus.grupos.com.br:/space/obj/usr/src/sys/MARCUS i386


	
>Description:

Implement WITH_OPENLDAP_VER able to use in make.conf

Need review some ports because exist ports that implement WITH_OPENLDAP_VER
like mail/exim

And dns/bind9-sdl-ldap use USE_OPENLDAP_VER.

	
>How-To-Repeat:
	
>Fix:

	

--- bsd.port.mk.3.patch begins here ---
Index: bsd.port.mk
===================================================================
RCS file: /home/pcvs/ports/Mk/bsd.port.mk,v
retrieving revision 1.517
diff -u -r1.517 bsd.port.mk
--- bsd.port.mk	15 Sep 2005 12:24:33 -0000	1.517
+++ bsd.port.mk	14 Oct 2005 01:47:19 -0000
@@ -309,6 +309,8 @@
 # WANT_OPENLDAP_SASL
 #				- If set, the system should use OpenLDAP libraries
 #				  with SASL support.
+# WITH_OPENLDAP_VER
+#				- If set, value are passed to WANT_OPENLDAP_VER.
 ##
 # USE_FAM		- If set, this port uses the File Alteration Monitor.
 #
@@ -1367,8 +1369,6 @@
 # Location of mounted CDROM(s) to search for files
 CD_MOUNTPTS?=	/cdrom ${CD_MOUNTPT}
 
-WANT_OPENLDAP_VER?=	22
-
 WANT_FAM_SYSTEM?=	fam
 
 # Owner and group of the WWW user
@@ -1466,12 +1466,12 @@
 .include "${PORTSDIR}/Mk/bsd.gcc.mk"
 .endif
 
-.if defined(USE_OPENLDAP_VER)
-USE_OPENLDAP?=		yes
-WANT_OPENLDAP_VER=	${USE_OPENLDAP_VER}
+.if defined(WITH_OPENLDAP_VER)
+WANT_OPENLDAP_VER?=	${WITH_OPENLDAP_VER}
 .endif
 
 .if defined(USE_OPENLDAP)
+WANT_OPENLDAP_SASL?=	22
 .if defined(WANT_OPENLDAP_SASL)
 _OPENLDAP_FLAVOUR=	-sasl
 .else
--- bsd.port.mk.3.patch ends here ---


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



More information about the freebsd-ports-bugs mailing list