From owner-svn-ports-head@FreeBSD.ORG Fri May 17 13:47:11 2013 Return-Path: Delivered-To: svn-ports-head@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 9E752768; Fri, 17 May 2013 13:47:11 +0000 (UTC) (envelope-from wg@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) by mx1.freebsd.org (Postfix) with ESMTP id 90FBDDBA; Fri, 17 May 2013 13:47:11 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.6/8.14.6) with ESMTP id r4HDlBfL065816; Fri, 17 May 2013 13:47:11 GMT (envelope-from wg@svn.freebsd.org) Received: (from wg@localhost) by svn.freebsd.org (8.14.6/8.14.5/Submit) id r4HDlBL2065815; Fri, 17 May 2013 13:47:11 GMT (envelope-from wg@svn.freebsd.org) Message-Id: <201305171347.r4HDlBL2065815@svn.freebsd.org> From: William Grzybowski Date: Fri, 17 May 2013 13:47:11 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r318383 - head/net/nss_ldap X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 17 May 2013 13:47:11 -0000 Author: wg Date: Fri May 17 13:47:11 2013 New Revision: 318383 URL: http://svnweb.freebsd.org/changeset/ports/318383 Log: - Convert to OptionsNG - Trim Makefile header PR: ports/177212 Submitted by: wg (myself) Approved by: culot (mentor), maintainer (timeout, > 4 weeks) Modified: head/net/nss_ldap/Makefile Modified: head/net/nss_ldap/Makefile ============================================================================== --- head/net/nss_ldap/Makefile Fri May 17 13:44:44 2013 (r318382) +++ head/net/nss_ldap/Makefile Fri May 17 13:47:11 2013 (r318383) @@ -1,9 +1,5 @@ -# Ports collection Makefile for: nss_ldap -# Date created: 4/1/2003 -# Whom: nectar@FreeBSD.org -# +# Created by: Jacques Vidrine # $FreeBSD$ -# PORTNAME= nss_ldap PORTVERSION= 1.${NSS_LDAP_VERSION} @@ -26,7 +22,10 @@ USE_AUTOTOOLS= automake aclocal autoconf USE_LDCONFIG= yes USE_OPENLDAP= yes -OPTIONS= LCLASS "Enable login classes via the loginClass attribute" on +OPTIONS_DEFINE= LCLASS KERBEROS +OPTIONS_DEFAULT=LCLASS KERBEROS + +LCLASS_DESC= Enable login classes via the loginClass attribute CPPFLAGS+= -I${LOCALBASE}/include LDFLAGS+= -L${LOCALBASE}/lib -Wl,-rpath,${LOCALBASE}/lib @@ -40,12 +39,13 @@ MAN5= nss_ldap.5 SUB_FILES= pkg-message -.include -.if !defined(WITHOUT_KERBEROS) +.include + +.if ${PORT_OPTIONS:MKERBEROS} CONFIGURE_ARGS+=--enable-configurable-krb5-ccname-env .endif -.if defined(WITH_LCLASS) +.if ${PORT_OPTIONS:MLCLASS} CFLAGS+="-DHAVE_LOGIN_CLASSES" .endif @@ -82,4 +82,4 @@ post-install: @${CAT} ${PKGMESSAGE} .endif -.include +.include