pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: [pkgsrc-2020Q4] pkgsrc/databases/py-ldap



Module Name:    pkgsrc
Committed By:   bsiegert
Date:           Sat Jan 16 19:53:04 UTC 2021

Modified Files:
        pkgsrc/databases/py-ldap [pkgsrc-2020Q4]: Makefile

Log Message:
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


To generate a diff of this commit:
cvs rdiff -u -r1.87 -r1.87.4.1 pkgsrc/databases/py-ldap/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/databases/py-ldap/Makefile
diff -u pkgsrc/databases/py-ldap/Makefile:1.87 pkgsrc/databases/py-ldap/Makefile:1.87.4.1
--- pkgsrc/databases/py-ldap/Makefile:1.87      Tue Jul  7 05:29:04 2020
+++ pkgsrc/databases/py-ldap/Makefile   Sat Jan 16 19:53:04 2021
@@ -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



Home | Main Index | Thread Index | Old Index