perl: fix locale with musl (triggers rebuild)

resolves void-linux/void-packages#1798

[ci skip]
This commit is contained in:
maxice8 2018-08-17 06:00:37 -03:00
parent d7230d84fa
commit 4cc173e6a6
No known key found for this signature in database
GPG Key ID: 543B9D4F4299F06B
1 changed files with 2 additions and 1 deletions

View File

@ -1,7 +1,7 @@
# Template file for 'perl'
pkgname=perl
version=5.28.0
revision=1
revision=2
_perl_cross_version=1.2
build_style=gnu-configure
hostmakedepends="less"
@ -179,6 +179,7 @@ do_configure() {
export HOSTCFLAGS
HOSTLDFLAGS+=" -pthread"
export HOSTLDFLAGS
CFLAGS+=" -DNO_POSIX_2008_LOCALE"
CFLAGS+=" -D_GNU_SOURCE";;
esac