commit:     faac9c2caf58d243ad8dc6b57a7227a168dcae50
Author:     Oskari Pirhonen <xxc3ncoredxx <AT> gmail <DOT> com>
AuthorDate: Mon Mar 27 03:33:19 2023 +0000
Commit:     Joonas Niilola <juippis <AT> gentoo <DOT> org>
CommitDate: Tue Apr  4 12:45:42 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=faac9c2c

app-editors/gvim: remove some useless sed

- The libc.h mentioned in bug #43885 has moved to 9libs/libc.h so it's
  no longer relevant. And the sed was broken due to whitespace changes
  anyway.
- Finding the path to xsubpp is handled through autoconf and substituted
  into src/auto/config.mk which is read by src/Makefile.

Signed-off-by: Oskari Pirhonen <xxc3ncoredxx <AT> gmail.com>
Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org>

 app-editors/gvim/gvim-9.0.1000.ebuild | 11 -----------
 app-editors/gvim/gvim-9.0.1157.ebuild | 11 -----------
 app-editors/gvim/gvim-9.0.1363.ebuild | 11 -----------
 app-editors/gvim/gvim-9.0.1403.ebuild | 11 -----------
 app-editors/gvim/gvim-9999.ebuild     | 11 -----------
 5 files changed, 55 deletions(-)

diff --git a/app-editors/gvim/gvim-9.0.1000.ebuild 
b/app-editors/gvim/gvim-9.0.1000.ebuild
index 5685854ed305..0de275e73897 100644
--- a/app-editors/gvim/gvim-9.0.1000.ebuild
+++ b/app-editors/gvim/gvim-9.0.1000.ebuild
@@ -132,12 +132,6 @@ src_prepare() {
                "${S}"/runtime/menu.vim \
                "${S}"/src/configure.ac || die 'sed failed'
 
-       # Don't be fooled by /usr/include/libc.h.  When found, vim thinks
-       # this is NeXT, but it's actually just a file in dev-libs/9libs
-       # This fixes bug 43885 (20 Mar 2004 agriffis)
-       sed -i -e \
-               's/ libc\.h / /' "${S}"/src/configure.ac || die 'sed failed'
-
        # gcc on sparc32 has this, uhm, interesting problem with detecting EOF
        # correctly. To avoid some really entertaining error messages about 
stuff
        # which isn't even in the source file being invalid, we'll do some 
trickery
@@ -155,11 +149,6 @@ src_prepare() {
 
        cp -v "${S}"/src/config.mk.dist "${S}"/src/auto/config.mk || die "cp 
failed"
 
-       # Bug #378107 - Build properly with >=perl-core/ExtUtils-ParseXS-3.20.0
-       sed -i -e \
-               "s:\\\$(PERLLIB)/ExtUtils/xsubpp:${EPREFIX}/usr/bin/xsubpp:" \
-               "${S}"/src/Makefile || die 'sed for ExtUtils-ParseXS failed'
-
        # Fix bug 18245: Prevent "make" from the following chain:
        # (1) Notice configure.ac is newer than auto/configure
        # (2) Rebuild auto/configure

diff --git a/app-editors/gvim/gvim-9.0.1157.ebuild 
b/app-editors/gvim/gvim-9.0.1157.ebuild
index 5685854ed305..0de275e73897 100644
--- a/app-editors/gvim/gvim-9.0.1157.ebuild
+++ b/app-editors/gvim/gvim-9.0.1157.ebuild
@@ -132,12 +132,6 @@ src_prepare() {
                "${S}"/runtime/menu.vim \
                "${S}"/src/configure.ac || die 'sed failed'
 
-       # Don't be fooled by /usr/include/libc.h.  When found, vim thinks
-       # this is NeXT, but it's actually just a file in dev-libs/9libs
-       # This fixes bug 43885 (20 Mar 2004 agriffis)
-       sed -i -e \
-               's/ libc\.h / /' "${S}"/src/configure.ac || die 'sed failed'
-
        # gcc on sparc32 has this, uhm, interesting problem with detecting EOF
        # correctly. To avoid some really entertaining error messages about 
stuff
        # which isn't even in the source file being invalid, we'll do some 
trickery
@@ -155,11 +149,6 @@ src_prepare() {
 
        cp -v "${S}"/src/config.mk.dist "${S}"/src/auto/config.mk || die "cp 
failed"
 
-       # Bug #378107 - Build properly with >=perl-core/ExtUtils-ParseXS-3.20.0
-       sed -i -e \
-               "s:\\\$(PERLLIB)/ExtUtils/xsubpp:${EPREFIX}/usr/bin/xsubpp:" \
-               "${S}"/src/Makefile || die 'sed for ExtUtils-ParseXS failed'
-
        # Fix bug 18245: Prevent "make" from the following chain:
        # (1) Notice configure.ac is newer than auto/configure
        # (2) Rebuild auto/configure

diff --git a/app-editors/gvim/gvim-9.0.1363.ebuild 
b/app-editors/gvim/gvim-9.0.1363.ebuild
index c6e8ca77a51c..63f2a43f8dc6 100644
--- a/app-editors/gvim/gvim-9.0.1363.ebuild
+++ b/app-editors/gvim/gvim-9.0.1363.ebuild
@@ -133,12 +133,6 @@ src_prepare() {
                "${S}"/runtime/menu.vim \
                "${S}"/src/configure.ac || die 'sed failed'
 
-       # Don't be fooled by /usr/include/libc.h.  When found, vim thinks
-       # this is NeXT, but it's actually just a file in dev-libs/9libs
-       # This fixes bug 43885 (20 Mar 2004 agriffis)
-       sed -i -e \
-               's/ libc\.h / /' "${S}"/src/configure.ac || die 'sed failed'
-
        # gcc on sparc32 has this, uhm, interesting problem with detecting EOF
        # correctly. To avoid some really entertaining error messages about 
stuff
        # which isn't even in the source file being invalid, we'll do some 
trickery
@@ -156,11 +150,6 @@ src_prepare() {
 
        cp -v "${S}"/src/config.mk.dist "${S}"/src/auto/config.mk || die "cp 
failed"
 
-       # Bug #378107 - Build properly with >=perl-core/ExtUtils-ParseXS-3.20.0
-       sed -i -e \
-               "s:\\\$(PERLLIB)/ExtUtils/xsubpp:${EPREFIX}/usr/bin/xsubpp:" \
-               "${S}"/src/Makefile || die 'sed for ExtUtils-ParseXS failed'
-
        # Fix bug 18245: Prevent "make" from the following chain:
        # (1) Notice configure.ac is newer than auto/configure
        # (2) Rebuild auto/configure

diff --git a/app-editors/gvim/gvim-9.0.1403.ebuild 
b/app-editors/gvim/gvim-9.0.1403.ebuild
index c6e8ca77a51c..63f2a43f8dc6 100644
--- a/app-editors/gvim/gvim-9.0.1403.ebuild
+++ b/app-editors/gvim/gvim-9.0.1403.ebuild
@@ -133,12 +133,6 @@ src_prepare() {
                "${S}"/runtime/menu.vim \
                "${S}"/src/configure.ac || die 'sed failed'
 
-       # Don't be fooled by /usr/include/libc.h.  When found, vim thinks
-       # this is NeXT, but it's actually just a file in dev-libs/9libs
-       # This fixes bug 43885 (20 Mar 2004 agriffis)
-       sed -i -e \
-               's/ libc\.h / /' "${S}"/src/configure.ac || die 'sed failed'
-
        # gcc on sparc32 has this, uhm, interesting problem with detecting EOF
        # correctly. To avoid some really entertaining error messages about 
stuff
        # which isn't even in the source file being invalid, we'll do some 
trickery
@@ -156,11 +150,6 @@ src_prepare() {
 
        cp -v "${S}"/src/config.mk.dist "${S}"/src/auto/config.mk || die "cp 
failed"
 
-       # Bug #378107 - Build properly with >=perl-core/ExtUtils-ParseXS-3.20.0
-       sed -i -e \
-               "s:\\\$(PERLLIB)/ExtUtils/xsubpp:${EPREFIX}/usr/bin/xsubpp:" \
-               "${S}"/src/Makefile || die 'sed for ExtUtils-ParseXS failed'
-
        # Fix bug 18245: Prevent "make" from the following chain:
        # (1) Notice configure.ac is newer than auto/configure
        # (2) Rebuild auto/configure

diff --git a/app-editors/gvim/gvim-9999.ebuild 
b/app-editors/gvim/gvim-9999.ebuild
index 63a3e37a2a0d..bd596dd2df32 100644
--- a/app-editors/gvim/gvim-9999.ebuild
+++ b/app-editors/gvim/gvim-9999.ebuild
@@ -132,12 +132,6 @@ src_prepare() {
                "${S}"/runtime/menu.vim \
                "${S}"/src/configure.ac || die 'sed failed'
 
-       # Don't be fooled by /usr/include/libc.h.  When found, vim thinks
-       # this is NeXT, but it's actually just a file in dev-libs/9libs
-       # This fixes bug 43885 (20 Mar 2004 agriffis)
-       sed -i -e \
-               's/ libc\.h / /' "${S}"/src/configure.ac || die 'sed failed'
-
        # gcc on sparc32 has this, uhm, interesting problem with detecting EOF
        # correctly. To avoid some really entertaining error messages about 
stuff
        # which isn't even in the source file being invalid, we'll do some 
trickery
@@ -155,11 +149,6 @@ src_prepare() {
 
        cp -v "${S}"/src/config.mk.dist "${S}"/src/auto/config.mk || die "cp 
failed"
 
-       # Bug #378107 - Build properly with >=perl-core/ExtUtils-ParseXS-3.20.0
-       sed -i -e \
-               "s:\\\$(PERLLIB)/ExtUtils/xsubpp:${EPREFIX}/usr/bin/xsubpp:" \
-               "${S}"/src/Makefile || die 'sed for ExtUtils-ParseXS failed'
-
        # Fix bug 18245: Prevent "make" from the following chain:
        # (1) Notice configure.ac is newer than auto/configure
        # (2) Rebuild auto/configure

Reply via email to