sys-apps/grep: fix automagic dependency on dev-libs/libsigsegv
authorThomas Deutschmann <whissi@gentoo.org>
Sat, 22 Dec 2018 22:48:52 +0000 (23:48 +0100)
committerThomas Deutschmann <whissi@gentoo.org>
Sat, 22 Dec 2018 22:49:06 +0000 (23:49 +0100)
Closes: https://bugs.gentoo.org/673524
Package-Manager: Portage-2.3.52, Repoman-2.3.12
Signed-off-by: Thomas Deutschmann <whissi@gentoo.org>
sys-apps/grep/grep-3.0-r1.ebuild [moved from sys-apps/grep/grep-3.0.ebuild with 91% similarity]
sys-apps/grep/grep-3.1-r1.ebuild [moved from sys-apps/grep/grep-3.1.ebuild with 94% similarity]
sys-apps/grep/grep-3.3-r1.ebuild [moved from sys-apps/grep/grep-3.3.ebuild with 94% similarity]

similarity index 91%
rename from sys-apps/grep/grep-3.0.ebuild
rename to sys-apps/grep/grep-3.0-r1.ebuild
index 69114f07cfa01a5b67f1027a62efd52f9613f9cc..90ba1b045513115a030c3590d69d8d91e331bccc 100644 (file)
@@ -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)" ''
similarity index 94%
rename from sys-apps/grep/grep-3.1.ebuild
rename to sys-apps/grep/grep-3.1-r1.ebuild
index 05ec1d0402d6e39bce3264f072419af85c4beeef..bc8dc4beb4fbbff074a5e1a94ac34a2d95372a66 100644 (file)
@@ -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)" ''
similarity index 94%
rename from sys-apps/grep/grep-3.3.ebuild
rename to sys-apps/grep/grep-3.3-r1.ebuild
index 93d0d71220380dbff4df01d18368414ea397c78d..635945feb36604323af442416fd12700257b0b1b 100644 (file)
@@ -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)" ''