diff options
author | bsiegert <bsiegert@pkgsrc.org> | 2021-01-16 19:53:04 +0000 |
---|---|---|
committer | bsiegert <bsiegert@pkgsrc.org> | 2021-01-16 19:53:04 +0000 |
commit | 12cc9b2b5b96897187d3583d1df7b279b56a34d5 (patch) | |
tree | c9d9639956e5d44250a5c970e169fbd1304be14f | |
parent | a7d55f5e008c1a5d4e7623132a7cad65e3fb7d1d (diff) | |
download | pkgsrc-12cc9b2b5b96897187d3583d1df7b279b56a34d5.tar.gz |
Pullup ticket #6402 - requested by nia
databases/py-ldap: NetBSD build fix
Revisions pulled up:
- databases/py-ldap/Makefile 1.89
---
Module Name: pkgsrc
Committed By: nia
Date: Thu Jan 14 11:41:03 UTC 2021
Modified Files:
pkgsrc/databases/py-ldap: Makefile
Log Message:
py-ldap: Force pkgsrc version on NetBSD where version detection fails
PR pkg/55902
-rw-r--r-- | databases/py-ldap/Makefile | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/databases/py-ldap/Makefile b/databases/py-ldap/Makefile index a9d0d66c545..2caba06975d 100644 --- a/databases/py-ldap/Makefile +++ b/databases/py-ldap/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.87 2020/07/07 05:29:04 adam Exp $ +# $NetBSD: Makefile,v 1.87.4.1 2021/01/16 19:53:04 bsiegert Exp $ DISTNAME= python-ldap-3.3.1 PKGNAME= ${DISTNAME:S/python/${PYPKGPREFIX}/} @@ -10,6 +10,14 @@ HOMEPAGE= https://www.python-ldap.org/ COMMENT= LDAP client API for Python LICENSE= python-software-foundation +.include "../../mk/bsd.prefs.mk" +.if !empty(MACHINE_PLATFORM:MNetBSD-[56789].*) && \ + empty(MACHINE_PLATFORM:MNetBSD-9.99.*) +# Needs openldap>=2.4.48 for openldap.h. +# Unfortunately, version detection on the native version fails. +PREFER.openldap-client= pkgsrc +.endif + DEPENDS+= ${PYPKGPREFIX}-asn1>=0.3.7:../../security/py-asn1 DEPENDS+= ${PYPKGPREFIX}-asn1-modules>=0.1.5:../../security/py-asn1-modules TEST_DEPENDS+= openldap-server-[0-9]*:../../databases/openldap-server |