aboutsummaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authorjgh <jgh@FreeBSD.org>2013-01-22 15:26:38 +0800
committerjgh <jgh@FreeBSD.org>2013-01-22 15:26:38 +0800
commita3f1911b965da6168c64e9b8048a4dbc493c7d0a (patch)
tree27cf5802775e95be5c601565583ea465f86c8b78 /net
parent6709f5e95edd76db07343ad75d6ae053718b44ef (diff)
downloadfreebsd-ports-gnome-a3f1911b965da6168c64e9b8048a4dbc493c7d0a.tar.gz
freebsd-ports-gnome-a3f1911b965da6168c64e9b8048a4dbc493c7d0a.tar.zst
freebsd-ports-gnome-a3f1911b965da6168c64e9b8048a4dbc493c7d0a.zip
- add NSLCD KNOB reverted in r310469
PR: 175340 Submitted by: john.marshall@riverwillow.com.au Reviewed by: bapt (portmgr) Approved by: maintainer, rflynn@acsalaska.net (implicit)
Diffstat (limited to 'net')
-rw-r--r--net/nss-pam-ldapd/Makefile21
1 files changed, 6 insertions, 15 deletions
diff --git a/net/nss-pam-ldapd/Makefile b/net/nss-pam-ldapd/Makefile
index a68601bcd9be..e5dd7f004465 100644
--- a/net/nss-pam-ldapd/Makefile
+++ b/net/nss-pam-ldapd/Makefile
@@ -1,14 +1,9 @@
-# Ports collection Makefile for: nss_ldapd
-# Date created: 23/7/2009
-# Whom: melifaro@ipfw.ru
-#
+# Created by: melifaro@ipfw.ru
# $FreeBSD$
-#
-# vim: ft=pmake tw=78 fo=cq
-#
PORTNAME= nss-pam-ldapd
PORTVERSION= 0.8.12
+PORTREVISION= 1
CATEGORIES= net
MASTER_SITES= http://arthurdejong.org/nss-pam-ldapd/
@@ -101,20 +96,16 @@ SUB_LIST+= NSS_MESSAGE=""
# Won't hook this in to OPTIONS until PADL ports are at least DEPRECATED.
# It doesn't do the software any good to run as replacement for the PADL ports
# without running the daemon.
-.if ${PORT_OPTIONS:MNSLCD)
+.if defined(WITHOUT_NSLCD)
+CONFIGURE_ARGS+= --disable-nslcd
+PLIST_SUB+= NSLCD="@comment "
+.else
CONFIGURE_ARGS+= --enable-nslcd
PLIST_SUB+= NSLCD=""
MAN5+= nslcd.conf.5
MAN8+= nslcd.8
-.else
-CONFIGURE_ARGS+= --disable-nslcd
-PLIST_SUB+= NSLCD="@comment "
.endif
-# these are unconditionally installed (bug filed upstream)
-MAN5+= nslcd.conf.5
-MAN8+= nslcd.8
-
post-extract:
@${REINPLACE_CMD} -e 's/\(INSTALL_\)\(.*\)) -D /\1\2) /' ${WRKSRC}/Makefile.in ${WRKSRC}/nss/Makefile.in