diff options
author | martymac <martymac@FreeBSD.org> | 2010-10-01 17:14:47 +0800 |
---|---|---|
committer | martymac <martymac@FreeBSD.org> | 2010-10-01 17:14:47 +0800 |
commit | 4b4c2cffda9fcdac5c02075c3319bde3c66300a3 (patch) | |
tree | 022f7fce265f487c3ed451fc6c221d74dc84c865 | |
parent | 5499c080ab5e6f27cbf6e3caa4de590b5af7e6cd (diff) | |
download | freebsd-ports-gnome-4b4c2cffda9fcdac5c02075c3319bde3c66300a3.tar.gz freebsd-ports-gnome-4b4c2cffda9fcdac5c02075c3319bde3c66300a3.tar.zst freebsd-ports-gnome-4b4c2cffda9fcdac5c02075c3319bde3c66300a3.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)
-rw-r--r-- | net/ldapscripts/Makefile | 20 |
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 \ |