Limit thread safe locales to FreeBSD 12+.
This commit is contained in:
parent
a6208b25a4
commit
1555f6d129
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=501648
@ -58,7 +58,6 @@ CONFIGURE_ARGS= -sde -Dprefix=${PREFIX} \
|
||||
-Dsiteman3dir=${SITE_MAN3} \
|
||||
-Dsiteman1dir=${SITE_MAN1} \
|
||||
-Ui_malloc -Ui_iconv -Uinstallusrbinperl -Dusenm=n \
|
||||
-Accflags='-DUSE_THREAD_SAFE_LOCALE' \
|
||||
-Dcc="${CC}" -Duseshrplib -Dinc_version_list=none \
|
||||
-Dcf_by=${MAINTAINER:C,@.*,,} -Dcf_email=${MAINTAINER} \
|
||||
-Dcf_time="`${STAT} -t \"%a %b %d %T %Z %Y\" -f %Sm ${_DISTDIR}/${DISTNAME}${EXTRACT_SUFX}`"
|
||||
@ -192,6 +191,10 @@ _PERL5_DEFAULT_FILE= /tmp/PERL5_DEFAULT
|
||||
.include <bsd.port.options.mk>
|
||||
.sinclude "${_PERL5_DEFAULT_FILE}"
|
||||
|
||||
.if ${OSVERSION} >= 1200004
|
||||
CONFIGURE_ARGS+= -Accflags='-DUSE_THREAD_SAFE_LOCALE'
|
||||
.endif
|
||||
|
||||
# if this port is default due PERL5_DEFAULT
|
||||
# change PKGNAME to reflect this
|
||||
.if ${PERL_VER} == ${PERL5_DEFAULT} || ${PERL5_DEFAULT} == devel # XXX Remove devel case
|
||||
|
@ -44,7 +44,6 @@ CONFIGURE_ARGS= -sde -Dprefix=${PREFIX} \
|
||||
-Dsiteman3dir=${SITE_MAN3} \
|
||||
-Dsiteman1dir=${SITE_MAN1} \
|
||||
-Ui_malloc -Ui_iconv -Uinstallusrbinperl -Dusenm=n \
|
||||
-Accflags='-DUSE_THREAD_SAFE_LOCALE' \
|
||||
-Dcc="${CC}" -Duseshrplib -Dinc_version_list=none \
|
||||
-Dcf_by=${MAINTAINER:C,@.*,,} -Dcf_email=${MAINTAINER} \
|
||||
-Dcf_time="`${STAT} -t \"%a %b %d %T %Z %Y\" -f %Sm ${_DISTDIR}/${DISTNAME}${EXTRACT_SUFX}`"
|
||||
@ -169,6 +168,10 @@ _PERL5_DEFAULT_FILE= /tmp/PERL5_DEFAULT
|
||||
.include <bsd.port.options.mk>
|
||||
.sinclude "${_PERL5_DEFAULT_FILE}"
|
||||
|
||||
.if ${OSVERSION} >= 1200004
|
||||
CONFIGURE_ARGS+= -Accflags='-DUSE_THREAD_SAFE_LOCALE'
|
||||
.endif
|
||||
|
||||
# if this port is default due PERL5_DEFAULT
|
||||
# change PKGNAME to reflect this
|
||||
.if ${PERL_VER} == ${PERL5_DEFAULT}
|
||||
|
Loading…
Reference in New Issue
Block a user