diff --git a/dev-libs/cereal/cereal-1.3.2-r2.ebuild b/dev-libs/cereal/cereal-1.3.2-r2.ebuild index fc93b8a19e0d4..cf7ba0429ff6e 100644 --- a/dev-libs/cereal/cereal-1.3.2-r2.ebuild +++ b/dev-libs/cereal/cereal-1.3.2-r2.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2024 Gentoo Authors +# Copyright 1999-2026 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -20,7 +20,7 @@ DEPEND="dev-libs/rapidjson" src_prepare() { if ! use doc ; then - sed -i -e '/add_subdirectory(doc/d' CMakeLists.txt || die + cmake_comment_add_subdirectory doc fi # remove bundled rapidjson