diff options
| author | Alfred Wingate <parona@protonmail.com> | 2025-01-17 16:01:49 +0200 |
|---|---|---|
| committer | Sam James <sam@gentoo.org> | 2025-01-18 14:53:37 +0000 |
| commit | 5fe9d4a4de2e4f79666fb4a49f52c2c61db932ab (patch) | |
| tree | 55b25a2202986178bf8400c891ccadeb122f162d | |
| parent | 831f132c32008206a056aaafa3b3bcd9a1d4ca1f (diff) | |
| download | kde-5fe9d4a4de2e4f79666fb4a49f52c2c61db932ab.tar.gz kde-5fe9d4a4de2e4f79666fb4a49f52c2c61db932ab.tar.bz2 kde-5fe9d4a4de2e4f79666fb4a49f52c2c61db932ab.zip | |
dev-libs/kopeninghours: use Python cmake module instead of patching
Upstream commit: c73771a4e5cc1327f65092206889b995d2200ef7
Signed-off-by: Alfred Wingate <parona@protonmail.com>
Closes: https://github.com/gentoo/kde/pull/1015
Signed-off-by: Sam James <sam@gentoo.org>
| -rw-r--r-- | dev-libs/kopeninghours/kopeninghours-9999.ebuild | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/dev-libs/kopeninghours/kopeninghours-9999.ebuild b/dev-libs/kopeninghours/kopeninghours-9999.ebuild index 1510ad086f2..2b12e24f8b1 100644 --- a/dev-libs/kopeninghours/kopeninghours-9999.ebuild +++ b/dev-libs/kopeninghours/kopeninghours-9999.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2024 Gentoo Authors +# Copyright 1999-2025 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -42,8 +42,6 @@ BDEPEND=" app-alternatives/yacc " -PATCHES=( "${FILESDIR}"/${PN}-22.04.0-boostpython.patch ) - pkg_setup() { ecm_pkg_setup python_setup @@ -51,7 +49,8 @@ pkg_setup() { src_configure() { local mycmakeargs=( - -DBOOSTPYTHON_VERSION_MAJOR_MINOR=${EPYTHON} + -DPython_LIBRARY=$(python_get_library_path) + -DPython_INCLUDE_DIR=$(python_get_includedir) $(cmake_use_find_package python Boost) ) ecm_src_configure |
