dev-vcs/git: Fix build on musl

2.10.1+ introduce a configuration option which enables non-posix compatible
regex by default, which breaks compilation on musl.

Gentoo-Bug: https://bugs.gentoo.org/603710
Closes: https://github.com/gentoo/gentoo/pull/3237
This commit is contained in:
Aric Belsito
2016-12-25 09:47:52 -08:00
committed by Lars Wendler
parent f0ea8f639d
commit 076cafffdb
4 changed files with 8 additions and 0 deletions

View File

@@ -191,6 +191,8 @@ exportmakeopts() {
|| myopts+=" NO_PTHREADS=YesPlease"
use cvs \
|| myopts+=" NO_CVS=YesPlease"
use elibc_musl \
&& myopts+=" NO_REGEX=YesPlease"
# Disabled until ~m68k-mint can be keyworded again
# if [[ ${CHOST} == *-mint* ]] ; then
# myopts+=" NO_MMAP=YesPlease"

View File

@@ -191,6 +191,8 @@ exportmakeopts() {
|| myopts+=" NO_PTHREADS=YesPlease"
use cvs \
|| myopts+=" NO_CVS=YesPlease"
use elibc_musl \
&& myopts+=" NO_REGEX=YesPlease"
# Disabled until ~m68k-mint can be keyworded again
# if [[ ${CHOST} == *-mint* ]] ; then
# myopts+=" NO_MMAP=YesPlease"

View File

@@ -192,6 +192,8 @@ exportmakeopts() {
|| myopts+=" NO_PTHREADS=YesPlease"
use cvs \
|| myopts+=" NO_CVS=YesPlease"
use elibc_musl \
&& myopts+=" NO_REGEX=YesPlease"
# Disabled until ~m68k-mint can be keyworded again
# if [[ ${CHOST} == *-mint* ]] ; then
# myopts+=" NO_MMAP=YesPlease"

View File

@@ -192,6 +192,8 @@ exportmakeopts() {
|| myopts+=" NO_PTHREADS=YesPlease"
use cvs \
|| myopts+=" NO_CVS=YesPlease"
use elibc_musl \
&& myopts+=" NO_REGEX=YesPlease"
# Disabled until ~m68k-mint can be keyworded again
# if [[ ${CHOST} == *-mint* ]] ; then
# myopts+=" NO_MMAP=YesPlease"