summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortron <tron>2014-04-09 21:05:58 +0000
committertron <tron>2014-04-09 21:05:58 +0000
commit2af5d854b6c856f2fd00ddcee57dca74a058694f (patch)
treed23cf6a9c9f5ae203e28e03a5143cb0b45cda899
parentbe9d395466e44b4cdb1f6ef8870b409c77e84ed7 (diff)
downloadpkgsrc-2af5d854b6c856f2fd00ddcee57dca74a058694f.tar.gz
Don't enable "dtrace" support by default under Solaris 10. It doesn't
build for me on an UltraSPARC system.
-rw-r--r--lang/perl5/options.mk4
1 files changed, 2 insertions, 2 deletions
diff --git a/lang/perl5/options.mk b/lang/perl5/options.mk
index c5a8edfa97b..a7741e8c67e 100644
--- a/lang/perl5/options.mk
+++ b/lang/perl5/options.mk
@@ -1,4 +1,4 @@
-# $NetBSD: options.mk,v 1.5 2014/01/13 09:59:16 adam Exp $
+# $NetBSD: options.mk,v 1.6 2014/04/09 21:05:58 tron Exp $
PKG_OPTIONS_VAR= PKG_OPTIONS.perl
PKG_OPTIONS_REQUIRED_GROUPS= perlbits
@@ -38,7 +38,7 @@ PKG_SUGGESTED_OPTIONS+= 64bitauto
.endif
# Note: dtrace command on Darwin lacks required -G option
-.if ${OPSYS} == "SunOS"
+.if !empty(MACHINE_PLATFORM:MSunOS-1[123456789].*-*)
PKG_SUGGESTED_OPTIONS+= dtrace
.endif