From nobody@FreeBSD.org  Sun Jul 25 20:23:44 2010
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id AC5D11065673
	for <freebsd-gnats-submit@FreeBSD.org>; Sun, 25 Jul 2010 20:23:44 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (www.freebsd.org [IPv6:2001:4f8:fff6::21])
	by mx1.freebsd.org (Postfix) with ESMTP id C0A7E8FC15
	for <freebsd-gnats-submit@FreeBSD.org>; Sun, 25 Jul 2010 20:23:44 +0000 (UTC)
Received: from www.freebsd.org (localhost [127.0.0.1])
	by www.freebsd.org (8.14.3/8.14.3) with ESMTP id o6PKNgdL021643
	for <freebsd-gnats-submit@FreeBSD.org>; Sun, 25 Jul 2010 20:23:42 GMT
	(envelope-from nobody@www.freebsd.org)
Received: (from nobody@localhost)
	by www.freebsd.org (8.14.3/8.14.3/Submit) id o6PKNeY7021640;
	Sun, 25 Jul 2010 20:23:40 GMT
	(envelope-from nobody)
Message-Id: <201007252023.o6PKNeY7021640@www.freebsd.org>
Date: Sun, 25 Jul 2010 20:23:40 GMT
From: Alexander Kriventsov <avk@vl.ru>
To: freebsd-gnats-submit@FreeBSD.org
Subject: [PATCH] net/openldap24-server: fix build openldap24-client 
X-Send-Pr-Version: www-3.1
X-GNATS-Notify:

>Number:         148936
>Category:       ports
>Synopsis:       [PATCH] net/openldap24-server: fix build openldap24-client
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    delphij
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Sun Jul 25 20:30:06 UTC 2010
>Closed-Date:    Mon Aug 02 19:27:00 UTC 2010
>Last-Modified:  Mon Aug  2 19:30:11 UTC 2010
>Originator:     Alexander Kriventsov
>Release:        8.0-RELEASE FreeBSD
>Organization:
Hosting Community
>Environment:
FreeBSD sshgate.akriventsov.infra.hc.ru 8.0-RELEASE FreeBSD 8.0-RELEASE #0: Sat Nov 21 15:02:08 UTC 2009     root@mason.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC  amd64
>Description:
Option SMBPWD is for server only.
Client down't build if server was built with this option.
>How-To-Repeat:

>Fix:


Patch attached with submission follows:

diff -urN openldap24-server.orig/Makefile openldap24-server/Makefile
--- openldap24-server.orig/Makefile	2010-07-01 23:04:42.000000000 +0400
+++ openldap24-server/Makefile	2010-07-26 00:14:15.000000000 +0400
@@ -40,7 +40,7 @@
 .endif
 
 PORTREVISION_CLIENT=	0
-PORTREVISION_SERVER=	0
+PORTREVISION_SERVER=	1
 
 OPTIONS=	SASL "With (Cyrus) SASL2 support" off \
 		FETCH "Enable fetch(3) support" on
@@ -478,13 +478,13 @@
 test: build
 	@cd ${BUILD_WRKSRC}; ${SETENV} ${MAKE_ENV} \
 		${MAKE} ${MAKE_FLAGS} ${MAKEFILE} ${MAKE_ARGS} test
-.endif
 
 .if defined(WITH_SMBPWD)
 post-build:
 	@cd ${BUILD_WRKSRC}/contrib/slapd-modules/smbk5pwd; ${SETENV} ${MAKE_ENV} \
 		${MAKE} ${MAKE_FLAGS} ${MAKEFILE} ${MAKE_ARGS} DEFS="-DDO_SAMBA" all
 .endif
+.endif
 
 pre-su-install:
 	@if [ -f ${PKGINSTALL} ]; then \


>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-ports-bugs->delphij 
Responsible-Changed-By: edwin 
Responsible-Changed-When: Sun Jul 25 20:30:24 UTC 2010 
Responsible-Changed-Why:  
Over to maintainer (via the GNATS Auto Assign Tool) 

http://www.freebsd.org/cgi/query-pr.cgi?pr=148936 
State-Changed-From-To: open->closed 
State-Changed-By: delphij 
State-Changed-When: Mon Aug 2 19:26:16 UTC 2010 
State-Changed-Why:  
Committed, thanks! 

(Note that server revision is not bumped, this actually affects client 
only and it's a fix of breakage) 

http://www.freebsd.org/cgi/query-pr.cgi?pr=148936 

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: ports/148936: commit references a PR
Date: Mon,  2 Aug 2010 19:25:47 +0000 (UTC)

 delphij     2010-08-02 19:25:27 UTC
 
   FreeBSD ports repository
 
   Modified files:
     net/openldap24-server Makefile 
   Log:
   WITH_SMBPWD should apply only when building servers.
   
   PR:             ports/148936
   
   Revision  Changes    Path
   1.182     +1 -1      ports/net/openldap24-server/Makefile
 _______________________________________________
 cvs-all@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/cvs-all
 To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
 
>Unformatted:
