mirror of
https://github.com/flatcar/scripts.git
synced 2025-12-04 08:51:33 +01:00
sys-apps/grep: Sync with Gentoo
It's from Gentoo commit 89f74e3f499eca1bbf1ec6960e44b70e6a637044. Signed-off-by: Flatcar Buildbot <buildbot@flatcar-linux.org>
This commit is contained in:
parent
f2676172c2
commit
e9b641ce03
@ -25,7 +25,7 @@ fi
|
|||||||
|
|
||||||
LICENSE="GPL-3+"
|
LICENSE="GPL-3+"
|
||||||
SLOT="0"
|
SLOT="0"
|
||||||
IUSE="+egrep-fgrep nls pcre static"
|
IUSE="+egrep-fgrep nls pcre static test-full"
|
||||||
|
|
||||||
# We lack dev-libs/libsigsegv[static-libs] for now
|
# We lack dev-libs/libsigsegv[static-libs] for now
|
||||||
REQUIRED_USE="static? ( !sparc )"
|
REQUIRED_USE="static? ( !sparc )"
|
||||||
@ -74,6 +74,8 @@ src_prepare() {
|
|||||||
src_configure() {
|
src_configure() {
|
||||||
use static && append-ldflags -static
|
use static && append-ldflags -static
|
||||||
|
|
||||||
|
export RUN_{VERY_,}EXPENSIVE_TESTS=$(usex test-full yes no)
|
||||||
|
|
||||||
# We used to turn this off unconditionally (bug #673524) but we now
|
# We used to turn this off unconditionally (bug #673524) but we now
|
||||||
# allow it for cases where libsigsegv is better for userspace handling
|
# allow it for cases where libsigsegv is better for userspace handling
|
||||||
# of stack overflows.
|
# of stack overflows.
|
||||||
|
|||||||
@ -16,6 +16,7 @@
|
|||||||
No deprecation warnings are emitted when this
|
No deprecation warnings are emitted when this
|
||||||
flag is enabled.
|
flag is enabled.
|
||||||
</flag>
|
</flag>
|
||||||
|
<flag name="test-full">Run expensive tests (mostly CPU intensive).</flag>
|
||||||
</use>
|
</use>
|
||||||
<upstream>
|
<upstream>
|
||||||
<remote-id type="cpe">cpe:/a:gnu:grep</remote-id>
|
<remote-id type="cpe">cpe:/a:gnu:grep</remote-id>
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user