Try and fix the DTRACE ONLY WORKS on x86 another way.

Sponsored by:	Absolight
This commit is contained in:
Mathieu Arnold 2016-12-21 14:31:20 +00:00
parent 312b556893
commit ea8da1b8ec
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=429086
2 changed files with 10 additions and 6 deletions

View File

@ -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

View File

@ -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