aboutsummaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
authorGanael LAPLANCHE <martymac@FreeBSD.org>2010-10-01 09:14:47 +0000
committerGanael LAPLANCHE <martymac@FreeBSD.org>2010-10-01 09:14:47 +0000
commite0d43f9eb62e5b2ddfa473b7aff8932423e15864 (patch)
treef0584122ee67ec8710b0ab66945aea1c86d0ca89 /net
parent8cccb8956572021302b5d1b440bede4a58d051ad (diff)
downloadports-e0d43f9eb62e5b2ddfa473b7aff8932423e15864.tar.gz
ports-e0d43f9eb62e5b2ddfa473b7aff8932423e15864.zip
Fix Openldap dependency :
- Add a missing USE_OPENLDAP - Remove useless tests regarding WANT_OPENLDAP_VER value - Re-order options to make portlint happy Approved by: ehaupt (mentor)
Notes
Notes: svn path=/head/; revision=262239
Diffstat (limited to 'net')
-rw-r--r--net/ldapscripts/Makefile20
1 files changed, 8 insertions, 12 deletions
diff --git a/net/ldapscripts/Makefile b/net/ldapscripts/Makefile
index 4bcac89470bc..f4f6d4b3dee0 100644
--- a/net/ldapscripts/Makefile
+++ b/net/ldapscripts/Makefile
@@ -7,27 +7,23 @@
PORTNAME= ldapscripts
PORTVERSION= 1.9.0
+PORTREVISION= 1
CATEGORIES= net
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTNAME}-${PORTVERSION} \
http://contribs.martymac.org/ldapscripts/
-
EXTRACT_SUFX= .tgz
MAINTAINER= martymac@FreeBSD.org
COMMENT= Scripts to manage posix accounts in an OpenLDAP directory
-WANT_OPENLDAP_VER?= 23
-.if (${WANT_OPENLDAP_VER} != 21) && (${WANT_OPENLDAP_VER} != 22) && (${WANT_OPENLDAP_VER} != 23) && (${WANT_OPENLDAP_VER} != 24)
-BROKEN= Incompatible OpenLDAP version: ${WANT_OPENLDAP_VER}
-.endif
-
-RUN_DEPENDS= ldapadd:${PORTSDIR}/net/openldap${WANT_OPENLDAP_VER}-client \
- ldapsearch:${PORTSDIR}/net/openldap${WANT_OPENLDAP_VER}-client \
- ldapdelete:${PORTSDIR}/net/openldap${WANT_OPENLDAP_VER}-client \
- ldapmodify:${PORTSDIR}/net/openldap${WANT_OPENLDAP_VER}-client \
- ldapmodrdn:${PORTSDIR}/net/openldap${WANT_OPENLDAP_VER}-client \
- ldappasswd:${PORTSDIR}/net/openldap${WANT_OPENLDAP_VER}-client
+RUN_DEPENDS= ldapadd:${PORTSDIR}/net/openldap${OPENLDAP_VER}-client \
+ ldapsearch:${PORTSDIR}/net/openldap${OPENLDAP_VER}-client \
+ ldapdelete:${PORTSDIR}/net/openldap${OPENLDAP_VER}-client \
+ ldapmodify:${PORTSDIR}/net/openldap${OPENLDAP_VER}-client \
+ ldapmodrdn:${PORTSDIR}/net/openldap${OPENLDAP_VER}-client \
+ ldappasswd:${PORTSDIR}/net/openldap${OPENLDAP_VER}-client
+USE_OPENLDAP= yes
USE_ICONV= yes
LIBDIR=${PREFIX}/lib/${PORTNAME}
MAKE_ENV+= MANDIR=${MANPREFIX}/man \