pkgsrc-Changes archive

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

CVS commit: pkgsrc/devel/libuuid



Module Name:    pkgsrc
Committed By:   nia
Date:           Thu May  5 08:35:33 UTC 2022

Modified Files:
        pkgsrc/devel/libuuid: Makefile.common

Log Message:
libuuid: Use OPSYS_VERSION to numerically compare NetBSD versions


To generate a diff of this commit:
cvs rdiff -u -r1.7 -r1.8 pkgsrc/devel/libuuid/Makefile.common

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

Modified files:

Index: pkgsrc/devel/libuuid/Makefile.common
diff -u pkgsrc/devel/libuuid/Makefile.common:1.7 pkgsrc/devel/libuuid/Makefile.common:1.8
--- pkgsrc/devel/libuuid/Makefile.common:1.7    Sat Mar 14 09:59:01 2020
+++ pkgsrc/devel/libuuid/Makefile.common        Thu May  5 08:35:33 2022
@@ -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 @@ TEST_TARGET=          check
 .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