commit:     91e79c4852d808c79d435ef0afadd4386a1dfb02
Author:     Mario Haustein <mario.haustein <AT> hrz <DOT> tu-chemnitz <DOT> de>
AuthorDate: Tue Feb  7 17:04:11 2023 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Wed Feb  8 04:11:06 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=91e79c48

sci-geosciences/grass: add bzip2 use flag

Bug: https://bugs.gentoo.org/893134
Signed-off-by: Mario Haustein <mario.haustein <AT> hrz.tu-chemnitz.de>
Closes: https://github.com/gentoo/gentoo/pull/29333
Signed-off-by: Sam James <sam <AT> gentoo.org>

 sci-geosciences/grass/grass-8.2.1.ebuild | 4 +++-
 sci-geosciences/grass/grass-9999.ebuild  | 4 +++-
 2 files changed, 6 insertions(+), 2 deletions(-)

diff --git a/sci-geosciences/grass/grass-8.2.1.ebuild 
b/sci-geosciences/grass/grass-8.2.1.ebuild
index 70d3a66f7e30..0b77a9524bf5 100644
--- a/sci-geosciences/grass/grass-8.2.1.ebuild
+++ b/sci-geosciences/grass/grass-8.2.1.ebuild
@@ -36,7 +36,7 @@ else
        S="${WORKDIR}/${MY_P}"
 fi
 
-IUSE="blas cxx fftw geos lapack las mysql netcdf nls odbc opencl opengl openmp 
pdal png postgres readline sqlite threads tiff truetype X zstd"
+IUSE="blas bzip2 cxx fftw geos lapack las mysql netcdf nls odbc opencl opengl 
openmp pdal png postgres readline sqlite threads tiff truetype X zstd"
 REQUIRED_USE="
        ${PYTHON_REQUIRED_USE}
        opengl? ( X )"
@@ -60,6 +60,7 @@ RDEPEND="
                virtual/cblas[eselect-ldso(+)]
                virtual/blas[eselect-ldso(+)]
        )
+       bzip2? ( app-arch/bzip2:= )
        fftw? ( sci-libs/fftw:3.0= )
        geos? ( sci-libs/geos:= )
        lapack? ( virtual/lapack[eselect-ldso(+)] )
@@ -188,6 +189,7 @@ src_configure() {
                $(use_with threads pthread)
                $(use_with openmp)
                $(use_with opencl)
+               $(use_with bzip2 bzlib)
                $(use_with pdal pdal "${EPREFIX}"/usr/bin/pdal-config)
                $(use_with las liblas "${EPREFIX}"/usr/bin/liblas-config)
                $(use_with netcdf netcdf "${EPREFIX}"/usr/bin/nc-config)

diff --git a/sci-geosciences/grass/grass-9999.ebuild 
b/sci-geosciences/grass/grass-9999.ebuild
index 4c29251814aa..80491b81b91a 100644
--- a/sci-geosciences/grass/grass-9999.ebuild
+++ b/sci-geosciences/grass/grass-9999.ebuild
@@ -36,7 +36,7 @@ else
        S="${WORKDIR}/${MY_P}"
 fi
 
-IUSE="blas cxx fftw geos lapack las mysql netcdf nls odbc opencl opengl openmp 
pdal png postgres readline sqlite threads tiff truetype X zstd"
+IUSE="blas bzip2 cxx fftw geos lapack las mysql netcdf nls odbc opencl opengl 
openmp pdal png postgres readline sqlite threads tiff truetype X zstd"
 REQUIRED_USE="
        ${PYTHON_REQUIRED_USE}
        opengl? ( X )"
@@ -60,6 +60,7 @@ RDEPEND="
                virtual/cblas[eselect-ldso(+)]
                virtual/blas[eselect-ldso(+)]
        )
+       bzip2? ( app-arch/bzip2:= )
        fftw? ( sci-libs/fftw:3.0= )
        geos? ( sci-libs/geos:= )
        lapack? ( virtual/lapack[eselect-ldso(+)] )
@@ -183,6 +184,7 @@ src_configure() {
                $(use_with threads pthread)
                $(use_with openmp)
                $(use_with opencl)
+               $(use_with bzip2 bzlib)
                $(use_with pdal pdal "${EPREFIX}"/usr/bin/pdal-config)
                $(use_with las liblas "${EPREFIX}"/usr/bin/liblas-config)
                $(use_with netcdf netcdf "${EPREFIX}"/usr/bin/nc-config)

Reply via email to