ports/177212: [PATCH] net/nss_ldap: options ng

William Grzybowski william88 at gmail.com
Thu Mar 21 22:20:00 UTC 2013


>Number:         177212
>Category:       ports
>Synopsis:       [PATCH] net/nss_ldap: options ng
>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:   Thu Mar 21 22:20:00 UTC 2013
>Closed-Date:
>Last-Modified:
>Originator:     William Grzybowski
>Release:        FreeBSD 9.1-RELEASE amd64
>Organization:
>Environment:
>Description:

	Convert to options ng
	Trim makefile header

>How-To-Repeat:
>Fix:

	See attached patch


--- nss_ldap.patch begins here ---
Index: Makefile
===================================================================
--- Makefile	(revision 314859)
+++ Makefile	(working copy)
@@ -1,9 +1,5 @@
-# Ports collection Makefile for:	nss_ldap
-# Date created:				4/1/2003
-# Whom:					nectar at FreeBSD.org
-#
+# Created by: nectar at FreeBSD.org
 # $FreeBSD$
-#
 
 PORTNAME=	nss_ldap
 PORTVERSION=	1.${NSS_LDAP_VERSION}
@@ -26,8 +22,11 @@
 USE_LDCONFIG=	yes
 USE_OPENLDAP=	yes
 
-OPTIONS=	LCLASS "Enable login classes via the loginClass attribute" on
+OPTIONS_DEFINE=	LCLASS
+OPTIONS_DEFAULT=LCLASS
 
+LCLASS_DESC=	Enable login classes via the loginClass attribute
+
 CPPFLAGS+=	-I${LOCALBASE}/include
 LDFLAGS+=	-L${LOCALBASE}/lib -Wl,-rpath,${LOCALBASE}/lib
 
@@ -45,7 +44,7 @@
 CONFIGURE_ARGS+=--enable-configurable-krb5-ccname-env
 .endif
 
-.if defined(WITH_LCLASS)
+.if ${PORT_OPTIONS:MLCLASS}
 CFLAGS+="-DHAVE_LOGIN_CLASSES"
 .endif
 
--- nss_ldap.patch ends here ---

>Release-Note:
>Audit-Trail:
>Unformatted:


More information about the freebsd-ports-bugs mailing list