pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/lang/perl5 Build with DTrace support enabled on OS X L...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/43aa3c99fcea
branches:  trunk
changeset: 348935:43aa3c99fcea
user:      sevan <sevan%pkgsrc.org@localhost>
date:      Mon Jun 20 17:19:56 2016 +0000

description:
Build with DTrace support enabled on OS X Leopard and newer

Reviewed by jperkin@

diffstat:

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

diffs (19 lines):

diff -r 0348ed7b2944 -r 43aa3c99fcea lang/perl5/options.mk
--- a/lang/perl5/options.mk     Mon Jun 20 17:11:37 2016 +0000
+++ b/lang/perl5/options.mk     Mon Jun 20 17:19:56 2016 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: options.mk,v 1.11 2016/01/27 11:38:57 wiz Exp $
+# $NetBSD: options.mk,v 1.12 2016/06/20 17:19:56 sevan Exp $
 
 PKG_OPTIONS_VAR=               PKG_OPTIONS.perl
 PKG_OPTIONS_REQUIRED_GROUPS=   perlbits
@@ -41,7 +41,8 @@
 PKG_SUGGESTED_OPTIONS+=                64bitauto
 .endif
 
-.if !empty(MACHINE_PLATFORM:MSunOS-5.1[1-9]-*)
+.if !empty(MACHINE_PLATFORM:MSunOS-5.1[1-9]-*) || \
+    (${OPSYS} == "Darwin" && ${OS_VERSION:R} >= 9)
 PKG_SUGGESTED_OPTIONS+=                dtrace
 .endif
 



Home | Main Index | Thread Index | Old Index