diff options
-rw-r--r-- | dev-libs/libtsm/files/libtsm-4.0.1-cmake.patch | 15 | ||||
-rw-r--r-- | dev-libs/libtsm/libtsm-4.0.1.ebuild | 9 |
2 files changed, 20 insertions, 4 deletions
diff --git a/dev-libs/libtsm/files/libtsm-4.0.1-cmake.patch b/dev-libs/libtsm/files/libtsm-4.0.1-cmake.patch new file mode 100644 index 000000000000..eae34cf1aca8 --- /dev/null +++ b/dev-libs/libtsm/files/libtsm-4.0.1-cmake.patch @@ -0,0 +1,15 @@ +--- a/CMakeLists.txt 2018-10-09 19:40:23.000000000 +0200 ++++ b/CMakeLists.txt 2021-03-06 17:37:02.596380373 +0100 +@@ -24,12 +24,6 @@ + # For feature_summary + include(FeatureSummary) + +-# Extra build types +-if(NOT CMAKE_BUILD_TYPE) +- set(CMAKE_BUILD_TYPE "Debug") +-endif() +-include(cmake/BuildTypes.cmake) +- + #--------------------------------------------------------------------------------------- + # Options + #--------------------------------------------------------------------------------------- diff --git a/dev-libs/libtsm/libtsm-4.0.1.ebuild b/dev-libs/libtsm/libtsm-4.0.1.ebuild index f8bc7744f35c..29e150fe9c61 100644 --- a/dev-libs/libtsm/libtsm-4.0.1.ebuild +++ b/dev-libs/libtsm/libtsm-4.0.1.ebuild @@ -1,10 +1,9 @@ -# Copyright 1999-2019 Gentoo Authors +# Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=6 +EAPI=7 -CMAKE_BUILD_TYPE=Release -inherit cmake-utils +inherit cmake DESCRIPTION="Terminal Emulator State Machine" HOMEPAGE="https://github.com/Aetf/libtsm" @@ -14,3 +13,5 @@ LICENSE="LGPL-2.1 MIT" SLOT="0/4" KEYWORDS="~amd64 ~x86" IUSE="" + +PATCHES=( "${FILESDIR}/${P}-cmake.patch" ) |