aboutsummaryrefslogtreecommitdiffstats
path: root/lang
diff options
context:
space:
mode:
authormat <mat@FreeBSD.org>2016-12-21 22:31:20 +0800
committermat <mat@FreeBSD.org>2016-12-21 22:31:20 +0800
commitae94427ec72c7ebff54d678fd8a1985e3cc68530 (patch)
tree11698357a4cef8f0958a232df89306d8386b5d9a /lang
parent5ec7aca036cfc9e12702fe6d3153be033d795bd9 (diff)
downloadfreebsd-ports-gnome-ae94427ec72c7ebff54d678fd8a1985e3cc68530.tar.gz
freebsd-ports-gnome-ae94427ec72c7ebff54d678fd8a1985e3cc68530.tar.zst
freebsd-ports-gnome-ae94427ec72c7ebff54d678fd8a1985e3cc68530.zip
Try and fix the DTRACE ONLY WORKS on x86 another way.
Sponsored by: Absolight
Diffstat (limited to 'lang')
-rw-r--r--lang/perl5-devel/Makefile8
-rw-r--r--lang/perl5.24/Makefile8
2 files changed, 10 insertions, 6 deletions
diff --git a/lang/perl5-devel/Makefile b/lang/perl5-devel/Makefile
index ccd3b55be0c9..8d587873e50f 100644
--- a/lang/perl5-devel/Makefile
+++ b/lang/perl5-devel/Makefile
@@ -35,15 +35,17 @@ GH_TAGNAME= v5.25.7-145-g54f6f37
MAKE_JOBS_UNSAFE= yes
OPTIONS_DEFINE= DEBUG GDBM PERL_64BITINT MULTIPLICITY SITECUSTOMIZE \
- THREADS PERL_MALLOC
-OPTIONS_DEFINE_i386= DTRACE
-OPTIONS_DEFINE_amd64= DTRACE
+ THREADS PERL_MALLOC DTRACE
OPTIONS_DEFAULT= PERL_64BITINT THREADS MULTIPLICITY DTRACE
.if !exists(/usr/sbin/dtrace)
OPTIONS_EXCLUDE+= DTRACE
.endif
OPTIONS_EXCLUDE_FreeBSD_9= DTRACE
+.for a in aarch64 arm armeb armv6 mips mips64 mips64el mipsel mipsn32 powerpc \
+ powerpc64 sparc64
+OPTIONS_EXCLUDE_${a}= DTRACE
+.endfor
EXCLUSIVE_DESC= Exclusive OPTIONS
GDBM_DESC= GDBM_File extension
diff --git a/lang/perl5.24/Makefile b/lang/perl5.24/Makefile
index abec336baf8a..80eca1011f13 100644
--- a/lang/perl5.24/Makefile
+++ b/lang/perl5.24/Makefile
@@ -21,9 +21,7 @@ TEST_ENV= ${MAKE_ENV} TEST_JOBS=${MAKE_JOBS_NUMBER} \
LD_LIBRARY_PATH=${WRKSRC}
OPTIONS_DEFINE= DEBUG GDBM PERL_64BITINT PTHREAD \
- MULTIPLICITY SITECUSTOMIZE
-OPTIONS_DEFINE_i386= DTRACE
-OPTIONS_DEFINE_amd64= DTRACE
+ MULTIPLICITY SITECUSTOMIZE DTRACE
# it seems perl malloc has problems with threaded perl on FreeBSD
OPTIONS_RADIO= EXCLUSIVE
OPTIONS_RADIO_EXCLUSIVE= THREADS PERL_MALLOC
@@ -33,6 +31,10 @@ OPTIONS_DEFAULT= PERL_64BITINT THREADS PTHREAD MULTIPLICITY DTRACE
OPTIONS_EXCLUDE+= DTRACE
.endif
OPTIONS_EXCLUDE_FreeBSD_9= DTRACE
+.for a in aarch64 arm armeb armv6 mips mips64 mips64el mipsel mipsn32 powerpc \
+ powerpc64 sparc64
+OPTIONS_EXCLUDE_${a}= DTRACE
+.endfor
EXCLUSIVE_DESC= Exclusive OPTIONS
GDBM_DESC= GDBM_File extension