pkgsrc-Changes archive

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

CVS commit: pkgsrc/comms/obexapp



Module Name:    pkgsrc
Committed By:   nia
Date:           Thu May  5 08:33:57 UTC 2022

Modified Files:
        pkgsrc/comms/obexapp: Makefile

Log Message:
obexapp: Use OPSYS_VERSION to numerically compare NetBSD versions


To generate a diff of this commit:
cvs rdiff -u -r1.35 -r1.36 pkgsrc/comms/obexapp/Makefile

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

Modified files:

Index: pkgsrc/comms/obexapp/Makefile
diff -u pkgsrc/comms/obexapp/Makefile:1.35 pkgsrc/comms/obexapp/Makefile:1.36
--- pkgsrc/comms/obexapp/Makefile:1.35  Thu May 21 13:04:16 2020
+++ pkgsrc/comms/obexapp/Makefile       Thu May  5 08:33:57 2022
@@ -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 @@ USE_BSD_MAKEFILE=     yes
 .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