diff options
Diffstat (limited to 'dev-lang')
| -rw-r--r-- | dev-lang/oorexx/oorexx-5.1.0_beta12932.ebuild | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/dev-lang/oorexx/oorexx-5.1.0_beta12932.ebuild b/dev-lang/oorexx/oorexx-5.1.0_beta12932.ebuild index f1f736875eb6..8b45a5152c6a 100644 --- a/dev-lang/oorexx/oorexx-5.1.0_beta12932.ebuild +++ b/dev-lang/oorexx/oorexx-5.1.0_beta12932.ebuild @@ -39,6 +39,15 @@ PATCHES=( "${FILESDIR}/oorexx-5.0.0-man.patch" ) +src_prepare() { + find ./samples/ -type f -iname "CMakeLists.txt" -exec sed -i {} \ + -e "/cmake_minimum_required/I s|(.*)|(VERSION 3.20)|g" \ + -e "/cmake_policy.*/d" \; \ + || die + + cmake_src_prepare +} + src_configure() { # -Werror=strict-aliasing # https://bugs.gentoo.org/952966 |
