Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 25 Apr 2003 20:39:12 +0200 (CEST)
From:      Christophe Juniet <cjuniet@entreview.com>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/51419: [PATCH] openldap21 port won't compile with any *_ONLY options 
Message-ID:  <200304251839.h3PIdC5u051041@gluon.dyndns.org>
Resent-Message-ID: <200304251840.h3PIeCYd028649@freefall.freebsd.org>

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

>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@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:



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