summaryrefslogtreecommitdiff
path: root/app-editors/kile
diff options
context:
space:
mode:
Diffstat (limited to 'app-editors/kile')
-rw-r--r--app-editors/kile/files/kile-2.9.93_p20221123-cmake.patch31
-rw-r--r--app-editors/kile/kile-9999.ebuild10
2 files changed, 33 insertions, 8 deletions
diff --git a/app-editors/kile/files/kile-2.9.93_p20221123-cmake.patch b/app-editors/kile/files/kile-2.9.93_p20221123-cmake.patch
new file mode 100644
index 00000000000..0095adf9548
--- /dev/null
+++ b/app-editors/kile/files/kile-2.9.93_p20221123-cmake.patch
@@ -0,0 +1,31 @@
+From 2974fba837aef46711d9e1b26cd367aab68ba53a Mon Sep 17 00:00:00 2001
+From: Andreas Sturmlechner <asturm@gentoo.org>
+Date: Wed, 19 Dec 2018 13:36:12 +0100
+Subject: [PATCH] Disable install misc files by cmake
+
+AUTHORS, README, Changelog etc. are handled by distribution packages.
+---
+ CMakeLists.txt | 7 -------
+ 1 file changed, 7 deletions(-)
+
+diff --git a/CMakeLists.txt b/CMakeLists.txt
+index 91a732ab..c69c168c 100644
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -114,13 +114,6 @@ install(
+ kile2.0-5_upd.pl
+ DESTINATION ${KDE_INSTALL_DATAROOTDIR}/kconf_update)
+
+-install(FILES
+- AUTHORS
+- ChangeLog
+- README
+- README.cwl
+- kile-remote-control.txt
+- DESTINATION ${KDE_INSTALL_DATAROOTDIR}/doc/kile)
+
+ ki18n_install(po)
+
+--
+2.38.1
+
diff --git a/app-editors/kile/kile-9999.ebuild b/app-editors/kile/kile-9999.ebuild
index d8da13a4e45..1e921508fde 100644
--- a/app-editors/kile/kile-9999.ebuild
+++ b/app-editors/kile/kile-9999.ebuild
@@ -58,17 +58,11 @@ RDEPEND="${DEPEND}
)
"
-S=${WORKDIR}/${MY_P}
-
DOCS=( kile-remote-control.txt )
-src_prepare() {
- ecm_src_prepare
+S=${WORKDIR}/${MY_P}
- # I know upstream wants to help us but it doesn't work..
- sed -e '/INSTALL( FILES AUTHORS/s/^/#DISABLED /' \
- -i CMakeLists.txt || die
-}
+PATCHES=( "${FILESDIR}/${PN}-2.9.93_p20221123-cmake.patch" )
src_configure() {
local mycmakeargs=(