commit:     3a9ab2090d0838dbae5516153859e8a6ec62c84c
Author:     Thomas Deutschmann <whissi <AT> gentoo <DOT> org>
AuthorDate: Sat Dec 22 22:48:52 2018 +0000
Commit:     Thomas Deutschmann <whissi <AT> gentoo <DOT> org>
CommitDate: Sat Dec 22 22:49:06 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3a9ab209

sys-apps/grep: fix automagic dependency on dev-libs/libsigsegv

Closes: https://bugs.gentoo.org/673524
Package-Manager: Portage-2.3.52, Repoman-2.3.12
Signed-off-by: Thomas Deutschmann <whissi <AT> gentoo.org>

 sys-apps/grep/{grep-3.0.ebuild => grep-3.0-r1.ebuild} | 4 +++-
 sys-apps/grep/{grep-3.1.ebuild => grep-3.1-r1.ebuild} | 2 ++
 sys-apps/grep/{grep-3.3.ebuild => grep-3.3-r1.ebuild} | 2 ++
 3 files changed, 7 insertions(+), 1 deletion(-)

diff --git a/sys-apps/grep/grep-3.0.ebuild b/sys-apps/grep/grep-3.0-r1.ebuild
similarity index 91%
rename from sys-apps/grep/grep-3.0.ebuild
rename to sys-apps/grep/grep-3.0-r1.ebuild
index 69114f07cfa..90ba1b04551 100644
--- a/sys-apps/grep/grep-3.0.ebuild
+++ b/sys-apps/grep/grep-3.0-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=5
@@ -34,6 +34,8 @@ src_prepare() {
 
 src_configure() {
        use static && append-ldflags -static
+       # don't link against libsigsegv even when available
+       export ac_cv_libsigsegv=no
        # Always use pkg-config to get lib info for pcre.
        export ac_cv_search_pcre_compile=$(
                usex pcre "$($(tc-getPKG_CONFIG) --libs $(usex static --static 
'') libpcre)" ''

diff --git a/sys-apps/grep/grep-3.1.ebuild b/sys-apps/grep/grep-3.1-r1.ebuild
similarity index 94%
rename from sys-apps/grep/grep-3.1.ebuild
rename to sys-apps/grep/grep-3.1-r1.ebuild
index 05ec1d0402d..bc8dc4beb4f 100644
--- a/sys-apps/grep/grep-3.1.ebuild
+++ b/sys-apps/grep/grep-3.1-r1.ebuild
@@ -35,6 +35,8 @@ src_prepare() {
 
 src_configure() {
        use static && append-ldflags -static
+       # don't link against libsigsegv even when available
+       export ac_cv_libsigsegv=no
        # Always use pkg-config to get lib info for pcre.
        export ac_cv_search_pcre_compile=$(
                usex pcre "$($(tc-getPKG_CONFIG) --libs $(usex static --static 
'') libpcre)" ''

diff --git a/sys-apps/grep/grep-3.3.ebuild b/sys-apps/grep/grep-3.3-r1.ebuild
similarity index 94%
rename from sys-apps/grep/grep-3.3.ebuild
rename to sys-apps/grep/grep-3.3-r1.ebuild
index 93d0d712203..635945feb36 100644
--- a/sys-apps/grep/grep-3.3.ebuild
+++ b/sys-apps/grep/grep-3.3-r1.ebuild
@@ -37,6 +37,8 @@ src_prepare() {
 
 src_configure() {
        use static && append-ldflags -static
+       # don't link against libsigsegv even when available
+       export ac_cv_libsigsegv=no
        # Always use pkg-config to get lib info for pcre.
        export ac_cv_search_pcre_compile=$(
                usex pcre "$($(tc-getPKG_CONFIG) --libs $(usex static --static 
'') libpcre)" ''

Reply via email to