ports/51419: [PATCH] openldap21 port won't compile with any *_ONLY options

Christophe Juniet cjuniet at entreview.com
Fri Apr 25 18:40:13 UTC 2003


>Number:         51419
>Category:       ports
>Synopsis:       [PATCH] openldap21 port won't compile with any *_ONLY options
>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 Apr 25 11:40:11 PDT 2003
>Closed-Date:
>Last-Modified:
>Originator:     Christophe Juniet
>Release:        FreeBSD 5.0-CURRENT i386
>Organization:
>Environment:
	System: FreeBSD gluon.dyndns.org 5.0-CURRENT FreeBSD 5.0-CURRENT #0: Sun Apr 20 10:55:52 CEST 2003 root at gluon.dyndns.org:/usr/obj/usr/src/sys/GLUON i386

>Description:
	The openldap21 port won't compile with any of the possible
	options because of a recursive variable assignement.

>How-To-Repeat:
	# make CLIENT_ONLY=yes
	Variable PKGNAMESUFFIX is recursive.

>Fix:

--- patch begins here ---
--- Makefile	Fri Apr 25 20:14:00 2003
+++ Makefile.new	Fri Apr 25 20:13:10 2003
@@ -86,7 +86,7 @@
 #
 BUILD_CLIENTS=	yes
 INSTALLS_SHLIB=	yes
-PKGNAMESUFFIX=	${PKGNAMESUFFIX}-client
+PKGNAMESUFFIX:=	${PKGNAMESUFFIX}-client
 COMMENT=	Open source LDAP client software
 CONFIGURE_ARGS+=			\
 	--disable-slapd			\
@@ -99,7 +99,7 @@
 # slapd only
 #
 BUILD_SLAPD=	yes
-PKGNAMESUFFIX=	${PKGNAMESUFFIX}-slapd
+PKGNAMESUFFIX:=	${PKGNAMESUFFIX}-slapd
 COMMENT=	Open source LDAP server software (slapd only)
 LIB_DEPENDS+=	ldap:${PORTSDIR}/net/openldap-client2.1
 CONFIGURE_ARGS+=			\
@@ -119,7 +119,7 @@
 # and some backend we just don't install them later on
 #
 BUILD_SLURPD=	yes
-PKGNAMESUFFIX=	${PKGNAMESUFFIX}-slurpd
+PKGNAMESUFFIX:=	${PKGNAMESUFFIX}-slurpd
 COMMENT=	Open source LDAP server software (slurpd only)
 LIB_DEPENDS+=	ldap:${PORTSDIR}/net/openldap-client2.1
 RUN_DEPENDS+=	${LOCALBASE}/libexec/slapd:${PORTSDIR}/net/openldap-slapd2.1
@@ -139,7 +139,7 @@
 #
 BUILD_SLAPD=	yes
 BUILD_SLURPD=	yes
-PKGNAMESUFFIX=	${PKGNAMESUFFIX}-server
+PKGNAMESUFFIX:=	${PKGNAMESUFFIX}-server
 COMMENT=	Open source LDAP server software (slapd and slurpd)
 LIB_DEPENDS+=	ldap:${PORTSDIR}/net/openldap-client2.1
 CONFIGURE_ARGS+=			\
--- patch ends here ---


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



More information about the freebsd-ports-bugs mailing list