From owner-freebsd-ports-bugs@FreeBSD.ORG Thu Mar 21 22:20:00 2013 Return-Path: Delivered-To: freebsd-ports-bugs@smarthost.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id C377CE0 for ; Thu, 21 Mar 2013 22:20:00 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) by mx1.freebsd.org (Postfix) with ESMTP id 8FB9AE96 for ; Thu, 21 Mar 2013 22:20:00 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.6/8.14.6) with ESMTP id r2LMK0SI082120 for ; Thu, 21 Mar 2013 22:20:00 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.6/8.14.6/Submit) id r2LMK0Ja082119; Thu, 21 Mar 2013 22:20:00 GMT (envelope-from gnats) Resent-Date: Thu, 21 Mar 2013 22:20:00 GMT Resent-Message-Id: <201303212220.r2LMK0Ja082119@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, William Grzybowski Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 00A61FF5 for ; Thu, 21 Mar 2013 22:10:56 +0000 (UTC) (envelope-from william88@gmail.com) Received: from mail-yh0-x22f.google.com (mail-yh0-x22f.google.com [IPv6:2607:f8b0:4002:c01::22f]) by mx1.freebsd.org (Postfix) with ESMTP id C0DB3E64 for ; Thu, 21 Mar 2013 22:10:56 +0000 (UTC) Received: by mail-yh0-f47.google.com with SMTP id w68so21327yhw.34 for ; Thu, 21 Mar 2013 15:10:56 -0700 (PDT) Received: from localhost ([177.40.113.56]) by mx.google.com with ESMTPS id h24sm607824yhc.25.2013.03.21.15.10.54 (version=TLSv1.2 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 21 Mar 2013 15:10:55 -0700 (PDT) Message-Id: <514b856f.2436ec0a.799a.3231@mx.google.com> Date: Thu, 21 Mar 2013 15:10:55 -0700 (PDT) From: William Grzybowski To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.113 Subject: ports/177212: [PATCH] net/nss_ldap: options ng X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: William Grzybowski List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 21 Mar 2013 22:20:00 -0000 >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@FreeBSD.org -# +# Created by: nectar@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: