pkgsrc-Changes archive

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

CVS commit: pkgsrc/lang/perl5



Module Name:    pkgsrc
Committed By:   jperkin
Date:           Mon Nov 29 16:26:37 UTC 2021

Modified Files:
        pkgsrc/lang/perl5: options.mk

Log Message:
perl5: Use OPSYS_VERSION.


To generate a diff of this commit:
cvs rdiff -u -r1.16 -r1.17 pkgsrc/lang/perl5/options.mk

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

Modified files:

Index: pkgsrc/lang/perl5/options.mk
diff -u pkgsrc/lang/perl5/options.mk:1.16 pkgsrc/lang/perl5/options.mk:1.17
--- pkgsrc/lang/perl5/options.mk:1.16   Mon May 24 17:46:25 2021
+++ pkgsrc/lang/perl5/options.mk        Mon Nov 29 16:26:36 2021
@@ -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-64bitnone
 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