diff options
author | William Grzybowski <wg@FreeBSD.org> | 2013-05-17 13:47:11 +0000 |
---|---|---|
committer | William Grzybowski <wg@FreeBSD.org> | 2013-05-17 13:47:11 +0000 |
commit | 687d65e38aea6f76add34e573f6d04b44124507e (patch) | |
tree | 573396a978a00078105541f82466e83d26c359d3 /net/nss_ldap | |
parent | - Remove these obspy modules, because they are included in obspy upstream now. (diff) |
- Convert to OptionsNG
- Trim Makefile header
PR: ports/177212
Submitted by: wg (myself)
Approved by: culot (mentor), maintainer (timeout, > 4 weeks)
Notes
Notes:
svn path=/head/; revision=318383
Diffstat (limited to 'net/nss_ldap')
-rw-r--r-- | net/nss_ldap/Makefile | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/net/nss_ldap/Makefile b/net/nss_ldap/Makefile index 5db0b067c9c7..1041cb6dec95 100644 --- a/net/nss_ldap/Makefile +++ b/net/nss_ldap/Makefile @@ -1,9 +1,5 @@ -# Ports collection Makefile for: nss_ldap -# Date created: 4/1/2003 -# Whom: nectar@FreeBSD.org -# +# Created by: Jacques Vidrine <nectar@FreeBSD.org> # $FreeBSD$ -# PORTNAME= nss_ldap PORTVERSION= 1.${NSS_LDAP_VERSION} @@ -26,7 +22,10 @@ USE_AUTOTOOLS= automake aclocal autoconf autoheader 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 <bsd.port.pre.mk> -.if !defined(WITHOUT_KERBEROS) +.include <bsd.port.options.mk> + +.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 <bsd.port.post.mk> +.include <bsd.port.mk> |