pkgsrc-Changes archive

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

CVS commit: pkgsrc/databases/py-ldap



Module Name:    pkgsrc
Committed By:   nia
Date:           Tue May 24 09:41:44 UTC 2022

Modified Files:
        pkgsrc/databases/py-ldap: Makefile

Log Message:
py-ldap: use OPSYS_VERSION


To generate a diff of this commit:
cvs rdiff -u -r1.91 -r1.92 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.91 pkgsrc/databases/py-ldap/Makefile:1.92
--- pkgsrc/databases/py-ldap/Makefile:1.91      Tue May 10 16:58:03 2022
+++ pkgsrc/databases/py-ldap/Makefile   Tue May 24 09:41:44 2022
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.91 2022/05/10 16:58:03 adam Exp $
+# $NetBSD: Makefile,v 1.92 2022/05/24 09:41:44 nia Exp $
 
 DISTNAME=      python-ldap-3.4.0
 PKGNAME=       ${DISTNAME:S/python/${PYPKGPREFIX}/}
@@ -13,8 +13,7 @@ LICENSE=      python-software-foundation
 PYTHON_VERSIONS_INCOMPATIBLE=  27
 
 .include "../../mk/bsd.prefs.mk"
-.if !empty(MACHINE_PLATFORM:MNetBSD-[56789].*) && \
-    empty(MACHINE_PLATFORM:MNetBSD-9.99.*)
+.if ${OPSYS} == "NetBSD" && ${OPSYS_VERSION} < 099907
 # Needs openldap>=2.4.48 for openldap.h.
 # Unfortunately, version detection on the native version fails.
 PREFER.openldap-client=        pkgsrc



Home | Main Index | Thread Index | Old Index