pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/comms/obexapp obexapp: Use OPSYS_VERSION to numericall...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/4d85ab72bbc6
branches:  trunk
changeset: 378719:4d85ab72bbc6
user:      nia <nia%pkgsrc.org@localhost>
date:      Thu May 05 08:33:57 2022 +0000

description:
obexapp: Use OPSYS_VERSION to numerically compare NetBSD versions

diffstat:

 comms/obexapp/Makefile |  5 ++---
 1 files changed, 2 insertions(+), 3 deletions(-)

diffs (19 lines):

diff -r 0025212f511f -r 4d85ab72bbc6 comms/obexapp/Makefile
--- a/comms/obexapp/Makefile    Thu May 05 08:33:54 2022 +0000
+++ b/comms/obexapp/Makefile    Thu May 05 08:33:57 2022 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.35 2020/05/21 13:04:16 mef Exp $
+# $NetBSD: Makefile,v 1.36 2022/05/05 08:33:57 nia Exp $
 #
 
 DISTNAME=      obexapp-1.4.15
@@ -34,8 +34,7 @@
 .include "../../mk/bsd.prefs.mk"
 
 # This uses the older ServiceDiscovery API
-.if (${OPSYS} == "NetBSD" && \
-    (!empty(OS_VERSION:M5.99.*) || !empty(OS_VERSION:M[6-9].*)))
+.if ${OPSYS} == "NetBSD" && ${OPSYS_VERSION} >= 059900
 MAKE_ENV+=     HAVE_LIBSDP=no
 RCD_SDPD=      bluetooth
 .endif



Home | Main Index | Thread Index | Old Index