svn commit: r501648 - in head/lang: perl5-devel perl5.30
Mathieu Arnold
mat at FreeBSD.org
Tue May 14 11:32:24 UTC 2019
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, at .*,,} -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, at .*,,} -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
More information about the svn-ports-all
mailing list