Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 25 Jul 2010 20:23:40 GMT
From:      Alexander Kriventsov <avk@vl.ru>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/148936: [PATCH] net/openldap24-server: fix build openldap24-client 
Message-ID:  <201007252023.o6PKNeY7021640@www.freebsd.org>
Resent-Message-ID: <201007252030.o6PKU6bj085301@freefall.freebsd.org>

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

>Number:         148936
>Category:       ports
>Synopsis:       [PATCH] net/openldap24-server: fix build openldap24-client
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Sun Jul 25 20:30:06 UTC 2010
>Closed-Date:
>Last-Modified:
>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:
>Unformatted:



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