pkgsrc-Changes-HG archive

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

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



details:   https://anonhg.NetBSD.org/pkgsrc/rev/aba0704f4ad3
branches:  trunk
changeset: 770341:aba0704f4ad3
user:      jperkin <jperkin%pkgsrc.org@localhost>
date:      Mon Nov 29 16:26:36 2021 +0000

description:
perl5: Use OPSYS_VERSION.

diffstat:

 lang/perl5/options.mk |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (20 lines):

diff -r f2e53d7094d2 -r aba0704f4ad3 lang/perl5/options.mk
--- a/lang/perl5/options.mk     Mon Nov 29 16:24:52 2021 +0000
+++ b/lang/perl5/options.mk     Mon Nov 29 16:26:36 2021 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: options.mk,v 1.16 2021/05/24 17:46:25 wiz Exp $
+# $NetBSD: options.mk,v 1.17 2021/11/29 16:26:36 jperkin Exp $
 
 PKG_OPTIONS_VAR=               PKG_OPTIONS.perl
 PKG_OPTIONS_REQUIRED_GROUPS=   perlbits
@@ -46,8 +46,8 @@
 PKG_SUGGESTED_OPTIONS+=                perl-64bitauto
 .endif
 
-.if !empty(MACHINE_PLATFORM:MSunOS-5.1[1-9]-*) || \
-    (${OPSYS} == "Darwin" && ${OS_VERSION:R} >= 9)
+.if (${OPSYS} == "SunOS" && ${OPSYS_VERSION} >= 051100) || \
+    (${OPSYS} == "Darwin" && ${OPSYS_VERSION} >= 100500)
 PKG_SUGGESTED_OPTIONS+=                dtrace
 .endif
 



Home | Main Index | Thread Index | Old Index