pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/pkgsrc-2020Q4]: pkgsrc/databases/py-ldap Pullup ticket #6402 - reques...
details: https://anonhg.NetBSD.org/pkgsrc/rev/0751356896c6
branches: pkgsrc-2020Q4
changeset: 445143:0751356896c6
user: bsiegert <bsiegert%pkgsrc.org@localhost>
date: Sat Jan 16 19:53:04 2021 +0000
description:
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
diffstat:
databases/py-ldap/Makefile | 10 +++++++++-
1 files changed, 9 insertions(+), 1 deletions(-)
diffs (24 lines):
diff -r abf9ce4bf305 -r 0751356896c6 databases/py-ldap/Makefile
--- a/databases/py-ldap/Makefile Sat Jan 16 19:48:22 2021 +0000
+++ b/databases/py-ldap/Makefile Sat Jan 16 19:53:04 2021 +0000
@@ -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 @@
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
Home |
Main Index |
Thread Index |
Old Index