aboutsummaryrefslogtreecommitdiffstats
path: root/lang
diff options
context:
space:
mode:
authormat <mat@FreeBSD.org>2016-12-21 20:34:56 +0800
committermat <mat@FreeBSD.org>2016-12-21 20:34:56 +0800
commit0318eaba2297e30cde2fcb26b6be165e2e90c10d (patch)
treee2c42f815373965e9ced4fb545f87942839b2375 /lang
parent8fb3c903baa02b7416a956519e45f179d3909777 (diff)
downloadfreebsd-ports-gnome-0318eaba2297e30cde2fcb26b6be165e2e90c10d.tar.gz
freebsd-ports-gnome-0318eaba2297e30cde2fcb26b6be165e2e90c10d.tar.zst
freebsd-ports-gnome-0318eaba2297e30cde2fcb26b6be165e2e90c10d.zip
Turns out, DTRACE does not work on non x86 platforms.
Sponsored by: Absolight
Diffstat (limited to 'lang')
-rw-r--r--lang/perl5-devel/Makefile4
-rw-r--r--lang/perl5.24/Makefile4
2 files changed, 6 insertions, 2 deletions
diff --git a/lang/perl5-devel/Makefile b/lang/perl5-devel/Makefile
index 515ca8bb668c..ccd3b55be0c9 100644
--- a/lang/perl5-devel/Makefile
+++ b/lang/perl5-devel/Makefile
@@ -35,7 +35,9 @@ GH_TAGNAME= v5.25.7-145-g54f6f37
MAKE_JOBS_UNSAFE= yes
OPTIONS_DEFINE= DEBUG GDBM PERL_64BITINT MULTIPLICITY SITECUSTOMIZE \
- THREADS PERL_MALLOC DTRACE
+ THREADS PERL_MALLOC
+OPTIONS_DEFINE_i386= DTRACE
+OPTIONS_DEFINE_amd64= DTRACE
OPTIONS_DEFAULT= PERL_64BITINT THREADS MULTIPLICITY DTRACE
.if !exists(/usr/sbin/dtrace)
diff --git a/lang/perl5.24/Makefile b/lang/perl5.24/Makefile
index b22890f43128..abec336baf8a 100644
--- a/lang/perl5.24/Makefile
+++ b/lang/perl5.24/Makefile
@@ -21,7 +21,9 @@ TEST_ENV= ${MAKE_ENV} TEST_JOBS=${MAKE_JOBS_NUMBER} \
LD_LIBRARY_PATH=${WRKSRC}
OPTIONS_DEFINE= DEBUG GDBM PERL_64BITINT PTHREAD \
- MULTIPLICITY SITECUSTOMIZE DTRACE
+ MULTIPLICITY SITECUSTOMIZE
+OPTIONS_DEFINE_i386= DTRACE
+OPTIONS_DEFINE_amd64= DTRACE
# it seems perl malloc has problems with threaded perl on FreeBSD
OPTIONS_RADIO= EXCLUSIVE
OPTIONS_RADIO_EXCLUSIVE= THREADS PERL_MALLOC