diff options
author | Sam James <sam@gentoo.org> | 2022-02-26 23:03:45 +0000 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2022-02-26 23:05:40 +0000 |
commit | 949005d1a1d77647a097371ba116be2f740c4b8c (patch) | |
tree | c555c6c4f92be7e2420730382e3cf5a4286d4720 | |
parent | app-text/xournalpp: Add build fix for musl (hopefully) (diff) | |
download | gentoo-949005d1a1d77647a097371ba116be2f740c4b8c.tar.gz gentoo-949005d1a1d77647a097371ba116be2f740c4b8c.tar.bz2 gentoo-949005d1a1d77647a097371ba116be2f740c4b8c.zip |
media-libs/opencolorio: avoid automagic OSL test dependency
If OSL has not yet been rebuilt against new OpenEXR and so on,
it might lead to a build failure. Let's just avoid the test dep
entirely.
Closes: https://bugs.gentoo.org/833933
Signed-off-by: Sam James <sam@gentoo.org>
-rw-r--r-- | media-libs/opencolorio/opencolorio-2.1.1-r7.ebuild | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/media-libs/opencolorio/opencolorio-2.1.1-r7.ebuild b/media-libs/opencolorio/opencolorio-2.1.1-r7.ebuild index b8551efefa43..16fb18b5889c 100644 --- a/media-libs/opencolorio/opencolorio-2.1.1-r7.ebuild +++ b/media-libs/opencolorio/opencolorio-2.1.1-r7.ebuild @@ -64,6 +64,10 @@ src_prepare() { sed -i -e "s|LIBRARY DESTINATION lib|LIBRARY DESTINATION $(get_libdir)|g" {,src/bindings/python/,src/OpenColorIO/,src/libutils/oiiohelpers/,src/libutils/oglapphelpers/}CMakeLists.txt || die sed -i -e "s|ARCHIVE DESTINATION lib|ARCHIVE DESTINATION $(get_libdir)|g" {,src/bindings/python/,src/OpenColorIO/,src/libutils/oiiohelpers/,src/libutils/oglapphelpers/}CMakeLists.txt || die + + # Avoid automagic test dependency on OSL, bug #833933 + # Can cause problems during e.g. OpenEXR unsplitting migration + cmake_run_in tests cmake_comment_add_subdirectory osl } src_configure() { |