pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/net netatalk*: Use OPSYS_VERSION to numerically compar...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/8f46c9be22dc
branches:  trunk
changeset: 378701:8f46c9be22dc
user:      nia <nia%pkgsrc.org@localhost>
date:      Thu May 05 08:23:27 2022 +0000

description:
netatalk*: Use OPSYS_VERSION to numerically compare NetBSD releases

diffstat:

 net/netatalk22/Makefile |  4 ++--
 net/netatalk3/Makefile  |  4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

diffs (36 lines):

diff -r e78107312c7c -r 8f46c9be22dc net/netatalk22/Makefile
--- a/net/netatalk22/Makefile   Thu May 05 08:23:25 2022 +0000
+++ b/net/netatalk22/Makefile   Thu May 05 08:23:27 2022 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.45 2022/01/28 21:18:18 nat Exp $
+# $NetBSD: Makefile,v 1.46 2022/05/05 08:23:27 nia Exp $
 
 DISTNAME=      netatalk-2.2.6
 PKGNAME=       ${DISTNAME:C/-/22-/}
@@ -71,7 +71,7 @@
 
 PLIST_VARS+=           ea
 .if ${OPSYS} == "SunOS" || ${OPSYS} == "DragonFly" || ${OPSYS} == "Linux" || \
-       (${OPSYS} == "NetBSD" && empty(OS_VERSION:M[0-6].[0-8].*)) || \
+       (${OPSYS} == "NetBSD" && ${OPSYS_VERSION} >= 070000) || \
        ${OPSYS} == "FreeBSD"
 PLIST.ea=              yes
 .endif
diff -r e78107312c7c -r 8f46c9be22dc net/netatalk3/Makefile
--- a/net/netatalk3/Makefile    Thu May 05 08:23:25 2022 +0000
+++ b/net/netatalk3/Makefile    Thu May 05 08:23:27 2022 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.46 2022/03/22 08:25:37 hauke Exp $
+# $NetBSD: Makefile,v 1.47 2022/05/05 08:23:27 nia Exp $
 
 DISTNAME=      netatalk-3.1.13
 PKGNAME=       ${DISTNAME:C/-/3-/}
@@ -62,7 +62,7 @@
 PLIST_VARS+=           ea
 .if ${OPSYS} == "FreeBSD" || ${OPSYS} == "DragonFly" \
        || ${OPSYS} == "SunOS" || ${OPSYS} == "Linux" \
-       || (${OPSYS} == "NetBSD" && empty(OS_VERSION:M[0-6].[0-8].*))
+       || (${OPSYS} == "NetBSD" && ${OPSYS_VERSION} >= 070000)
 PLIST.ea=              yes
 .endif
 



Home | Main Index | Thread Index | Old Index