pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/sysutils xentools*: Use OPSYS_VERSION to numerically c...
details: https://anonhg.NetBSD.org/pkgsrc/rev/abb9b461d219
branches: trunk
changeset: 378707:abb9b461d219
user: nia <nia%pkgsrc.org@localhost>
date: Thu May 05 08:27:13 2022 +0000
description:
xentools*: Use OPSYS_VERSION to numerically compare NetBSD releases
XXX do we still support Xen on NetBSD 6?
diffstat:
sysutils/xentools411/Makefile | 5 ++---
sysutils/xentools413/Makefile | 5 ++---
sysutils/xentools415/Makefile | 5 ++---
3 files changed, 6 insertions(+), 9 deletions(-)
diffs (57 lines):
diff -r 0eed6a2a2ba7 -r abb9b461d219 sysutils/xentools411/Makefile
--- a/sysutils/xentools411/Makefile Thu May 05 08:25:59 2022 +0000
+++ b/sysutils/xentools411/Makefile Thu May 05 08:27:13 2022 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.31 2022/03/15 18:12:12 nia Exp $
+# $NetBSD: Makefile,v 1.32 2022/05/05 08:27:13 nia Exp $
#
# VERSION is set in version.mk as it is shared with other packages
PKGREVISION= 7
@@ -210,8 +210,7 @@
${INSTALL_DATA} ${WRKSRC}/docs/misc/$f ${DESTDIR}${PREFIX}/share/doc/xen
.endfor
-.if (${OPSYS} == "NetBSD" && \
- (empty(OS_VERSION:M6.99.[3-9]?) && empty(OS_VERSION:M[7-9].*)))
+.if ${OPSYS} == "NetBSD" && ${OPSYS_VERSION} < 069900
CPPFLAGS+= -Dshm_open=open -Dshm_unlink=unlink
.endif
diff -r 0eed6a2a2ba7 -r abb9b461d219 sysutils/xentools413/Makefile
--- a/sysutils/xentools413/Makefile Thu May 05 08:25:59 2022 +0000
+++ b/sysutils/xentools413/Makefile Thu May 05 08:27:13 2022 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.26 2021/12/19 09:47:59 maya Exp $
+# $NetBSD: Makefile,v 1.27 2022/05/05 08:27:13 nia Exp $
#
VERSION= 4.13.4
@@ -208,8 +208,7 @@
${INSTALL_DATA} ${WRKSRC}/docs/misc/$f ${DESTDIR}${PREFIX}/share/doc/xen
.endfor
-.if (${OPSYS} == "NetBSD" && \
- (empty(OS_VERSION:M6.99.[3-9]?) && empty(OS_VERSION:M[7-9].*)))
+.if ${OPSYS} == "NetBSD" && ${OPSYS_VERSION} < 069900
CPPFLAGS+= -Dshm_open=open -Dshm_unlink=unlink
.endif
diff -r 0eed6a2a2ba7 -r abb9b461d219 sysutils/xentools415/Makefile
--- a/sysutils/xentools415/Makefile Thu May 05 08:25:59 2022 +0000
+++ b/sysutils/xentools415/Makefile Thu May 05 08:27:13 2022 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.11 2022/03/13 20:44:56 bouyer Exp $
+# $NetBSD: Makefile,v 1.12 2022/05/05 08:27:13 nia Exp $
#
VERSION= 4.15.2
@@ -210,8 +210,7 @@
${INSTALL_DATA} ${WRKSRC}/docs/misc/$f ${DESTDIR}${PREFIX}/share/doc/xen
.endfor
-.if (${OPSYS} == "NetBSD" && \
- (empty(OS_VERSION:M6.99.[3-9]?) && empty(OS_VERSION:M[7-9].*)))
+.if ${OPSYS} == "NetBSD" && ${OPSYS_VERSION} < 069900
CPPFLAGS+= -Dshm_open=open -Dshm_unlink=unlink
.endif
Home |
Main Index |
Thread Index |
Old Index