ghc*: Use OPSYS_VERSION to numerically compare NetBSD versions
This commit is contained in:
parent
d5774228b7
commit
ddc32f8497
7 changed files with 14 additions and 14 deletions
|
@ -1,4 +1,4 @@
|
|||
# $NetBSD: Makefile,v 1.51 2021/12/08 16:02:15 adam Exp $
|
||||
# $NetBSD: Makefile,v 1.52 2022/05/05 08:18:59 nia Exp $
|
||||
# -----------------------------------------------------------------------------
|
||||
# Package metadata
|
||||
#
|
||||
|
@ -178,7 +178,7 @@ BUILD_DEPENDS+= docbook-xsl-[0-9]*:../../textproc/docbook-xsl
|
|||
# NetBSD 9.x have libcurses with a newer major version than the
|
||||
# bootstrap kit is linked against. For now, work around this with
|
||||
# compat80.
|
||||
.if ${OPSYS} == "NetBSD" && empty(OS_VERSION:M[0-8].*)
|
||||
.if ${OPSYS} == "NetBSD" && ${OPSYS_VERSION} >= 090000
|
||||
BUILD_DEPENDS+= compat80-[0-9]*:../../emulators/compat80
|
||||
# In a sandboxed build environment, we have to reach over to the
|
||||
# installed libraries themselves, since the symlinks compat80 adds
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
# $NetBSD: Makefile,v 1.15 2021/12/08 16:02:15 adam Exp $
|
||||
# $NetBSD: Makefile,v 1.16 2022/05/05 08:18:59 nia Exp $
|
||||
# -----------------------------------------------------------------------------
|
||||
# Package metadata
|
||||
#
|
||||
|
@ -178,7 +178,7 @@ BUILD_DEPENDS+= ${PYPKGPREFIX}-sphinx-[0-9]*:../../textproc/py-sphinx
|
|||
# NetBSD 9.x have libcurses with a newer major version than the
|
||||
# bootstrap kit is linked against. For now, work around this with
|
||||
# compat80.
|
||||
.if ${OPSYS} == "NetBSD" && empty(OS_VERSION:M[0-8].*)
|
||||
.if ${OPSYS} == "NetBSD" && ${OPSYS_VERSION} >= 090000
|
||||
BUILD_DEPENDS+= compat80-[0-9]*:../../emulators/compat80
|
||||
# In a sandboxed build environment, we have to reach over to the
|
||||
# installed libraries themselves, since the symlinks compat80 adds
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
# $NetBSD: Makefile,v 1.10 2022/02/14 12:12:07 pho Exp $
|
||||
# $NetBSD: Makefile,v 1.11 2022/05/05 08:18:59 nia Exp $
|
||||
# -----------------------------------------------------------------------------
|
||||
# Package metadata
|
||||
#
|
||||
|
@ -220,7 +220,7 @@ BUILD_DEPENDS+= ${PYPKGPREFIX}-sphinx-[0-9]*:../../textproc/py-sphinx
|
|||
# NetBSD 9.x have libcurses with a newer major version than the
|
||||
# bootstrap kit is linked against. For now, work around this with
|
||||
# compat80.
|
||||
.if ${OPSYS} == "NetBSD" && empty(OS_VERSION:M[0-8].*)
|
||||
.if ${OPSYS} == "NetBSD" && ${OPSYS_VERSION} >= 090000
|
||||
BUILD_DEPENDS+= compat80-[0-9]*:../../emulators/compat80
|
||||
# In a sandboxed build environment, we have to reach over to the
|
||||
# installed libraries themselves, since the symlinks compat80 adds
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
# $NetBSD: Makefile,v 1.17 2021/12/08 16:02:15 adam Exp $
|
||||
# $NetBSD: Makefile,v 1.18 2022/05/05 08:18:59 nia Exp $
|
||||
# -----------------------------------------------------------------------------
|
||||
# Package metadata
|
||||
#
|
||||
|
@ -196,7 +196,7 @@ BUILD_DEPENDS+= ${PYPKGPREFIX}-sphinx-[0-9]*:../../textproc/py-sphinx
|
|||
# NetBSD 9.x have libcurses with a newer major version than the
|
||||
# bootstrap kit is linked against. For now, work around this with
|
||||
# compat80.
|
||||
.if ${OPSYS} == "NetBSD" && empty(OS_VERSION:M[0-8].*)
|
||||
.if ${OPSYS} == "NetBSD" && ${OPSYS_VERSION} >= 090000
|
||||
BUILD_DEPENDS+= compat80-[0-9]*:../../emulators/compat80
|
||||
# In a sandboxed build environment, we have to reach over to the
|
||||
# installed libraries themselves, since the symlinks compat80 adds
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
# $NetBSD: Makefile,v 1.23 2021/12/08 16:02:15 adam Exp $
|
||||
# $NetBSD: Makefile,v 1.24 2022/05/05 08:18:59 nia Exp $
|
||||
# -----------------------------------------------------------------------------
|
||||
# Package metadata
|
||||
#
|
||||
|
@ -220,7 +220,7 @@ BUILD_DEPENDS+= ${PYPKGPREFIX}-sphinx-[0-9]*:../../textproc/py-sphinx
|
|||
# NetBSD 9.x have libcurses with a newer major version than the
|
||||
# bootstrap kit is linked against. For now, work around this with
|
||||
# compat80.
|
||||
.if ${OPSYS} == "NetBSD" && empty(OS_VERSION:M[0-8].*)
|
||||
.if ${OPSYS} == "NetBSD" && ${OPSYS_VERSION} >= 090000
|
||||
BUILD_DEPENDS+= compat80-[0-9]*:../../emulators/compat80
|
||||
# In a sandboxed build environment, we have to reach over to the
|
||||
# installed libraries themselves, since the symlinks compat80 adds
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
# $NetBSD: Makefile,v 1.19 2022/02/24 09:18:09 pho Exp $
|
||||
# $NetBSD: Makefile,v 1.20 2022/05/05 08:18:59 nia Exp $
|
||||
# -----------------------------------------------------------------------------
|
||||
# Package metadata
|
||||
#
|
||||
|
@ -235,7 +235,7 @@ BUILD_DEPENDS+= ${PYPKGPREFIX}-sphinx-[0-9]*:../../textproc/py-sphinx
|
|||
# NetBSD 9.x have libcurses with a newer major version than the
|
||||
# bootstrap kit is linked against. For now, work around this with
|
||||
# compat80.
|
||||
.if !empty(MACHINE_PLATFORM:MNetBSD-*-x86_64) && empty(OS_VERSION:M[0-8].*)
|
||||
.if !empty(MACHINE_PLATFORM:MNetBSD-*-x86_64) && ${OPSYS_VERSION} >= 090000
|
||||
BUILD_DEPENDS+= compat80-[0-9]*:../../emulators/compat80
|
||||
# In a sandboxed build environment, we have to reach over to the
|
||||
# installed libraries themselves, since the symlinks compat80 adds
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
# $NetBSD: Makefile,v 1.6 2022/02/24 09:17:59 pho Exp $
|
||||
# $NetBSD: Makefile,v 1.7 2022/05/05 08:18:59 nia Exp $
|
||||
# -----------------------------------------------------------------------------
|
||||
# Package metadata
|
||||
#
|
||||
|
@ -236,7 +236,7 @@ BUILD_DEPENDS+= ${PYPKGPREFIX}-sphinx-[0-9]*:../../textproc/py-sphinx
|
|||
# NetBSD 9.x have libcurses with a newer major version than the
|
||||
# bootstrap kit is linked against. For now, work around this with
|
||||
# compat80.
|
||||
.if !empty(MACHINE_PLATFORM:MNetBSD-*-x86_64) && empty(OS_VERSION:M[0-8].*)
|
||||
.if !empty(MACHINE_PLATFORM:MNetBSD-*-x86_64) && ${OPSYS_VERSION} >= 090000
|
||||
BUILD_DEPENDS+= compat80-[0-9]*:../../emulators/compat80
|
||||
# In a sandboxed build environment, we have to reach over to the
|
||||
# installed libraries themselves, since the symlinks compat80 adds
|
||||
|
|
Loading…
Reference in a new issue