pkgsrc-Changes archive

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

CVS commit: pkgsrc/net



Module Name:    pkgsrc
Committed By:   nia
Date:           Thu May  5 08:23:27 UTC 2022

Modified Files:
        pkgsrc/net/netatalk22: Makefile
        pkgsrc/net/netatalk3: Makefile

Log Message:
netatalk*: Use OPSYS_VERSION to numerically compare NetBSD releases


To generate a diff of this commit:
cvs rdiff -u -r1.45 -r1.46 pkgsrc/net/netatalk22/Makefile
cvs rdiff -u -r1.46 -r1.47 pkgsrc/net/netatalk3/Makefile

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

Modified files:

Index: pkgsrc/net/netatalk22/Makefile
diff -u pkgsrc/net/netatalk22/Makefile:1.45 pkgsrc/net/netatalk22/Makefile:1.46
--- pkgsrc/net/netatalk22/Makefile:1.45 Fri Jan 28 21:18:18 2022
+++ pkgsrc/net/netatalk22/Makefile      Thu May  5 08:23:27 2022
@@ -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.rcd=            yes
 
 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

Index: pkgsrc/net/netatalk3/Makefile
diff -u pkgsrc/net/netatalk3/Makefile:1.46 pkgsrc/net/netatalk3/Makefile:1.47
--- pkgsrc/net/netatalk3/Makefile:1.46  Tue Mar 22 08:25:37 2022
+++ pkgsrc/net/netatalk3/Makefile       Thu May  5 08:23:27 2022
@@ -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 @@ REPLACE_PYTHON+=      libevent/event_rpcgen.p
 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