pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/lang/ocaml ocaml: Use OPSYS_VERSION.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/f2e53d7094d2
branches:  trunk
changeset: 770340:f2e53d7094d2
user:      jperkin <jperkin%pkgsrc.org@localhost>
date:      Mon Nov 29 16:24:52 2021 +0000

description:
ocaml: Use OPSYS_VERSION.

diffstat:

 lang/ocaml/Makefile |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r edd4dcc31dd3 -r f2e53d7094d2 lang/ocaml/Makefile
--- a/lang/ocaml/Makefile       Mon Nov 29 16:23:21 2021 +0000
+++ b/lang/ocaml/Makefile       Mon Nov 29 16:24:52 2021 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.141 2020/12/26 08:36:18 nia Exp $
+# $NetBSD: Makefile,v 1.142 2021/11/29 16:24:52 jperkin Exp $
 
 .include "Makefile.common"
 
@@ -71,7 +71,7 @@
 # clock_gettime(2), required by POSIX, is necessary for the
 # instrumented_runtime feature.
 # It is missing on macOS before 10.12.
-.if ${OPSYS} != "Darwin" || ${OS_VERSION:R:R} >= 16
+.if ${OPSYS} != "Darwin" || ${OPSYS_VERSION} >= 101200
 PLIST.instrumented_runtime=    yes
 .endif
 



Home | Main Index | Thread Index | Old Index