From 6586565ec93dda61a1b2eabe4643d851139e8a35 Mon Sep 17 00:00:00 2001
From: Norikatsu Shigemura <nork@FreeBSD.org>
Date: Sun, 21 Mar 2004 15:52:06 +0000
Subject: Utilize USE_OPENLDAP.

PR:		ports/64537
Submitted by:	NAKAJI Hiroyuki <nakaji@jp.freebsd.org> (maintainer)
---
 japanese/samba/Makefile | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

(limited to 'japanese')

diff --git a/japanese/samba/Makefile b/japanese/samba/Makefile
index 348c05073f2f..db7911dd8bcc 100644
--- a/japanese/samba/Makefile
+++ b/japanese/samba/Makefile
@@ -7,7 +7,7 @@
 
 PORTNAME=	samba
 PORTVERSION=	${SAMBA_VERSION}.j${SAMBA_JA_VERSION}
-PORTREVISION=	4
+PORTREVISION=	5
 CATEGORIES=	japanese net
 MASTER_SITES=	ftp://ftp.samba.gr.jp/pub/samba-jp/%SUBDIR%/ \
 		ftp://ftp.iij.ad.jp/pub/SAMBA/samba-jp/%SUBDIR%/ \
@@ -107,7 +107,7 @@ CONFIGURE_ARGS+=	--with-msdfs
 .endif
 
 .if defined(WITH_LDAP)
-LIB_DEPENDS+=  ldap.2:${PORTSDIR}/net/openldap20-client
+USE_OPENLDAP=	yes
 CONFIGURE_ARGS+=	--with-ldapsam
 CONFIGURE_ENV+=	CPPFLAGS=-I${LOCALBASE}/include \
 		LDFLAGS=-L${LOCALBASE}/lib
-- 
cgit v1.2.3