Date: Tue, 14 May 2019 11:32:23 +0000 (UTC) From: Mathieu Arnold <mat@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r501648 - in head/lang: perl5-devel perl5.30 Message-ID: <201905141132.x4EBWNne087985@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: mat Date: Tue May 14 11:32:23 2019 New Revision: 501648 URL: https://svnweb.freebsd.org/changeset/ports/501648 Log: Limit thread safe locales to FreeBSD 12+. Modified: head/lang/perl5-devel/Makefile (contents, props changed) head/lang/perl5.30/Makefile (contents, props changed) Modified: head/lang/perl5-devel/Makefile ============================================================================== --- head/lang/perl5-devel/Makefile Tue May 14 11:24:35 2019 (r501647) +++ head/lang/perl5-devel/Makefile Tue May 14 11:32:23 2019 (r501648) @@ -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}`" @@ -191,6 +190,10 @@ _PERL5_DEFAULT_FILE= /tmp/PERL5_DEFAULT # Get the default version, and possibly, overwrite it. .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 Modified: head/lang/perl5.30/Makefile ============================================================================== --- head/lang/perl5.30/Makefile Tue May 14 11:24:35 2019 (r501647) +++ head/lang/perl5.30/Makefile Tue May 14 11:32:23 2019 (r501648) @@ -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}`" @@ -168,6 +167,10 @@ _PERL5_DEFAULT_FILE= /tmp/PERL5_DEFAULT # Get the default version, and possibly, overwrite it. .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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201905141132.x4EBWNne087985>