pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/databases/py-ldap py-ldap: use OPSYS_VERSION
details: https://anonhg.NetBSD.org/pkgsrc/rev/08ab746ccd98
branches: trunk
changeset: 379843:08ab746ccd98
user: nia <nia%pkgsrc.org@localhost>
date: Tue May 24 09:41:44 2022 +0000
description:
py-ldap: use OPSYS_VERSION
diffstat:
databases/py-ldap/Makefile | 5 ++---
1 files changed, 2 insertions(+), 3 deletions(-)
diffs (19 lines):
diff -r 4f1e9f315fbe -r 08ab746ccd98 databases/py-ldap/Makefile
--- a/databases/py-ldap/Makefile Tue May 24 09:38:44 2022 +0000
+++ b/databases/py-ldap/Makefile Tue May 24 09:41:44 2022 +0000
@@ -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 @@
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