pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/devel/libuuid libuuid: Use OPSYS_VERSION to numericall...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/554fbadb807c
branches:  trunk
changeset: 378722:554fbadb807c
user:      nia <nia%pkgsrc.org@localhost>
date:      Thu May 05 08:35:33 2022 +0000

description:
libuuid: Use OPSYS_VERSION to numerically compare NetBSD versions

diffstat:

 devel/libuuid/Makefile.common |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r f3da553246e8 -r 554fbadb807c devel/libuuid/Makefile.common
--- a/devel/libuuid/Makefile.common     Thu May 05 08:34:57 2022 +0000
+++ b/devel/libuuid/Makefile.common     Thu May 05 08:35:33 2022 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.common,v 1.7 2020/03/14 09:59:01 roy Exp $
+# $NetBSD: Makefile.common,v 1.8 2022/05/05 08:35:33 nia Exp $
 # used by devel/libblkid/Makefile
 # used by devel/libuuid/Makefile
 # used by x11/mcookie/Makefile
@@ -33,7 +33,7 @@
 .include "../../mk/bsd.fast.prefs.mk"
 
 # XXX PR pkg/52877: configure is broken on netbsd6
-.if (${OPSYS} == "NetBSD" && !empty(OS_VERSION:M[0123456].*))
+.if (${OPSYS} == "NetBSD" && ${OPSYS_VERSION} < 070000)
 USE_TOOLS+=    ksh
 CONFIG_SHELL=  ksh
 .endif



Home | Main Index | Thread Index | Old Index