summaryrefslogtreecommitdiff
path: root/finance
diff options
context:
space:
mode:
authorMuhammad Moinur Rahman <bofh@FreeBSD.org>2023-02-08 04:50:40 -0600
committerMuhammad Moinur Rahman <bofh@FreeBSD.org>2023-02-08 04:53:56 -0600
commit6e1233be229212a0496f42d611bd40f3e3a628da (patch)
tree7be6239b98a0dff1d377ec09f371b55fb10dd508 /finance
parentwww/mybb: Update to 1.8.33 (diff)
Mk/**ldap.mk: Convert USE_LDAP to USES=ldap
Convert the USE_LDAP=yes to USES=ldap and adds the following features: - Adds the argument USES=ldap:server to add openldap2{4|5|6}-server as RUN_DEPENDS - Adds the argument USES=ldap<version> and replaces WANT_OPENLDAP_VER - Adds OPENLDAP versions in bsd.default-versions.mk - Adds USE_OPENLDAP/WANT_OPENLDAP_VER in Mk/bsd.sanity.mk - Changes consumers to use the features Reviewed by: delphij Approved by: portmgr Differential Revision: https://reviews.freebsd.org/D38233
Diffstat (limited to 'finance')
-rw-r--r--finance/odoo/Makefile3
-rw-r--r--finance/odoo14/Makefile3
-rw-r--r--finance/odoo15/Makefile3
3 files changed, 3 insertions, 6 deletions
diff --git a/finance/odoo/Makefile b/finance/odoo/Makefile
index 16b40d144fb2..48502ba13a4e 100644
--- a/finance/odoo/Makefile
+++ b/finance/odoo/Makefile
@@ -64,9 +64,8 @@ RUN_DEPENDS= wkhtmltopdf>0:converters/wkhtmltopdf \
${PYTHON_PKGNAMEPREFIX}idna>0:dns/py-idna@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}stdnum>0:devel/py-stdnum@${PY_FLAVOR}
-USES= cpe python:3.7+ pgsql shebangfix
+USES= cpe ldap python:3.7+ pgsql shebangfix
USE_PYTHON= distutils
-USE_OPENLDAP= yes
SHEBANG_LANG= python
SHEBANG_FILES= ${WRKSRC}/${PORTNAME}-bin
diff --git a/finance/odoo14/Makefile b/finance/odoo14/Makefile
index 2f5194f2a7f5..74495a69575b 100644
--- a/finance/odoo14/Makefile
+++ b/finance/odoo14/Makefile
@@ -66,9 +66,8 @@ RUN_DEPENDS= wkhtmltopdf>0:converters/wkhtmltopdf \
${PYTHON_PKGNAMEPREFIX}idna>0:dns/py-idna@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}stdnum>0:devel/py-stdnum@${PY_FLAVOR}
-USES= cpe python:3.7+ pgsql shebangfix
+USES= cpe ldap python:3.7+ pgsql shebangfix
USE_PYTHON= distutils
-USE_OPENLDAP= yes
SHEBANG_LANG= python
SHEBANG_FILES= ${WRKSRC}/${PORTNAME}-bin
diff --git a/finance/odoo15/Makefile b/finance/odoo15/Makefile
index 1a9478c05c77..6b53f1b6b2bf 100644
--- a/finance/odoo15/Makefile
+++ b/finance/odoo15/Makefile
@@ -66,9 +66,8 @@ RUN_DEPENDS= wkhtmltopdf>0:converters/wkhtmltopdf \
${PYTHON_PKGNAMEPREFIX}idna>0:dns/py-idna@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}stdnum>0:devel/py-stdnum@${PY_FLAVOR}
-USES= cpe python:3.7+ pgsql shebangfix
+USES= cpe ldap python:3.7+ pgsql shebangfix
USE_PYTHON= distutils
-USE_OPENLDAP= yes
SHEBANG_LANG= python
SHEBANG_FILES= ${WRKSRC}/${PORTNAME}-bin