diff options
author | nia <nia@pkgsrc.org> | 2022-05-05 08:34:57 +0000 |
---|---|---|
committer | nia <nia@pkgsrc.org> | 2022-05-05 08:34:57 +0000 |
commit | 409c1c3111a43930b511eac13879240141d823b2 (patch) | |
tree | a4c81ca156bdb1eeb6512ef78070996e928d59bf /devel/gmake/Makefile | |
parent | 54de23434ab54dd4b9d7b703538a379e3547400d (diff) | |
download | pkgsrc-409c1c3111a43930b511eac13879240141d823b2.tar.gz |
gmake: Use OPSYS_VERSION to numerically compare NetBSD versions
Diffstat (limited to 'devel/gmake/Makefile')
-rw-r--r-- | devel/gmake/Makefile | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/devel/gmake/Makefile b/devel/gmake/Makefile index 0e6d00ae360..b05cc4796ed 100644 --- a/devel/gmake/Makefile +++ b/devel/gmake/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.118 2022/04/25 16:05:44 tnn Exp $ +# $NetBSD: Makefile,v 1.119 2022/05/05 08:34:57 nia Exp $ DISTNAME= make-4.3 PKGNAME= g${DISTNAME} @@ -46,7 +46,7 @@ CPPFLAGS+= -DPKGSRC_DEFAULT_SHELL="\"/usr/bin/bash\"" .endif # kernel bug, fixed in NetBSD 9.99.82 -.if ${OPSYS} == "NetBSD" && !empty(OS_VERSION:M[0-9].*) +.if ${OPSYS} == "NetBSD" && ${OPSYS_VERSION} < 099982 CONFIGURE_ARGS.NetBSD+= --disable-posix-spawn .endif |