commit:     f2d3cf076d6cb1630bbe576aeb35083a60a1ea27
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Wed May  4 23:57:24 2022 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Thu May  5 00:11:11 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f2d3cf07

sci-mathematics/octave: style tweaks

Signed-off-by: Sam James <sam <AT> gentoo.org>

 ...ser-qtver.patch => octave-7.1.0-omit-qtchooser-qtver.patch} |  0
 sci-mathematics/octave/octave-7.1.0.ebuild                     | 10 +++++-----
 2 files changed, 5 insertions(+), 5 deletions(-)

diff --git 
a/sci-mathematics/octave/files/octave-6.4.0-omit-qtchooser-qtver.patch 
b/sci-mathematics/octave/files/octave-7.1.0-omit-qtchooser-qtver.patch
similarity index 100%
rename from sci-mathematics/octave/files/octave-6.4.0-omit-qtchooser-qtver.patch
rename to sci-mathematics/octave/files/octave-7.1.0-omit-qtchooser-qtver.patch

diff --git a/sci-mathematics/octave/octave-7.1.0.ebuild 
b/sci-mathematics/octave/octave-7.1.0.ebuild
index fe852460a5bb..29b80b554192 100644
--- a/sci-mathematics/octave/octave-7.1.0.ebuild
+++ b/sci-mathematics/octave/octave-7.1.0.ebuild
@@ -8,8 +8,8 @@ inherit autotools flag-o-matic fortran-2 java-pkg-opt-2 
pax-utils qmake-utils to
 DESCRIPTION="High-level interactive language for numerical computations"
 HOMEPAGE="https://www.gnu.org/software/octave/";
 SRC_URI="mirror://gnu/${PN}/${P}.tar.gz"
-LICENSE="GPL-3"
 
+LICENSE="GPL-3"
 SLOT="0/${PV}"
 IUSE="curl doc fftw +glpk gnuplot gui hdf5 java opengl
        portaudio postscript +qhull +qrupdate readline sndfile +sparse
@@ -98,10 +98,13 @@ BDEPEND="${RDEPEND}
 PATCHES=(
        "${FILESDIR}"/${PN}-5.1.0-pkgbuilddir.patch
        "${FILESDIR}"/${PN}-4.2.2-ncurses-pkgconfig.patch
-       "${FILESDIR}/${PN}-6.4.0-slibtool.patch"
+       "${FILESDIR}"/${PN}-6.4.0-slibtool.patch
+       "${FILESDIR}"/${PN}-7.1.0-omit-qtchooser-qtver.patch
 )
 
 src_prepare() {
+       default
+
        # nasty prefix hacks for fltk:1 linking
        if use prefix; then
                use opengl && append-ldflags 
-Wl,-rpath,"${EPREFIX}/usr/$(get_libdir)/fltk-1"
@@ -110,9 +113,6 @@ src_prepare() {
        # occasional fail on install, force regeneration (bug #401189)
        rm doc/interpreter/contributors.texi || die
 
-       default
-       # patch for unknown option 'qt' (bug #839285)
-       eapply "${FILESDIR}/${PN}-6.4.0-omit-qtchooser-qtver.patch"
        eautoreconf
 }
 

Reply via email to