Author: ken Date: Sun Oct 21 16:31:04 2018 New Revision: 3816 Log: Use a patch to fix openjpeg's broken cmake file.
Added: trunk/openjpeg/ trunk/openjpeg/openjpeg-2.3.0-only_shared-1.patch Added: trunk/openjpeg/openjpeg-2.3.0-only_shared-1.patch ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ trunk/openjpeg/openjpeg-2.3.0-only_shared-1.patch Sun Oct 21 16:31:04 2018 (r3816) @@ -0,0 +1,20 @@ +Submitted By: Ken Moffat <ken at linuxfromscratch dot org> +Date: 2018-10-22 +Initial Package Version: 2.3.0 +Upstream Status: Unknown +Origin: Found at Arch +Description: If building with static libs disabled, without this patch the +shared lib is not installed. + +diff -rupN openjpeg-2.3.0/src/lib/openjp2/CMakeLists.txt openjpeg-2.3.0-new/src/lib/openjp2/CMakeLists.txt +--- openjpeg-2.3.0/src/lib/openjp2/CMakeLists.txt 2017-10-05 00:23:14.000000000 +0200 ++++ openjpeg-2.3.0-new/src/lib/openjp2/CMakeLists.txt 2017-12-25 13:53:07.000000000 +0100 +@@ -99,6 +99,7 @@ else() + set(INSTALL_LIBS ${OPENJPEG_LIBRARY_NAME} openjp2_static) + else() + add_library(${OPENJPEG_LIBRARY_NAME} ${OPENJPEG_SRCS}) ++ set(INSTALL_LIBS ${OPENJPEG_LIBRARY_NAME}) + endif() + endif() + + -- http://lists.linuxfromscratch.org/listinfo/patches FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page