diff options
author | V3n3RiX <venerix@koprulu.sector> | 2022-12-19 19:49:08 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2022-12-19 19:49:08 +0000 |
commit | f287ecad888abdeb38e617d0485de282cd6819db (patch) | |
tree | 874d56500040734c4dbb9e437e0d5ed80a0a1886 /sci-libs/liborigin/files | |
parent | 844ae757702c53a56ee57056873a8204d256d47e (diff) |
gentoo auto-resync : 19:12:2022 - 19:49:08
Diffstat (limited to 'sci-libs/liborigin/files')
-rw-r--r-- | sci-libs/liborigin/files/liborigin-3.0.1-buildsystem.patch | 47 |
1 files changed, 0 insertions, 47 deletions
diff --git a/sci-libs/liborigin/files/liborigin-3.0.1-buildsystem.patch b/sci-libs/liborigin/files/liborigin-3.0.1-buildsystem.patch deleted file mode 100644 index 36e5d7fc7a9c..000000000000 --- a/sci-libs/liborigin/files/liborigin-3.0.1-buildsystem.patch +++ /dev/null @@ -1,47 +0,0 @@ -diff --git a/CMakeLists.txt b/CMakeLists.txt -index 2f3b26d..4c543bf 100644 ---- a/CMakeLists.txt -+++ b/CMakeLists.txt -@@ -28,6 +28,8 @@ else() - set( CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wall -Wextra -pedantic" ) - endif() - -+option(ENABLE_TOOLS "Install opj2dat command line util" ON) -+ - # compile-time configuration variables to be linked in - configure_file(config.h.in ${CMAKE_CURRENT_BINARY_DIR}/config.h) - include_directories(${CMAKE_CURRENT_BINARY_DIR}) -@@ -44,7 +46,6 @@ set (devel-headers - OriginObj.h - OriginFile.h - OriginParser.h -- tree.hh - ) - - # object library -@@ -87,6 +88,7 @@ if (BUILD_SHARED_LIBS) - endif () - - # command line util -+if(ENABLE_TOOLS) - if (BUILD_STATIC_LIBS) - add_executable(opj2dat opj2dat.cpp) - target_link_libraries (opj2dat origin_static) -@@ -94,6 +96,7 @@ elseif (BUILD_SHARED_LIBS) - add_executable(opj2dat opj2dat.cpp) - target_link_libraries (opj2dat origin_shared) - endif () -+endif () - - # Generate a pkg-config file matching this config - configure_file("liborigin.pc.in" "liborigin.pc" @ONLY) -@@ -103,7 +106,9 @@ install(FILES ${devel-headers} DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/liborigin - # install pkg-config file - if (BUILD_STATIC_LIBS OR BUILD_SHARED_LIBS) - install(FILES ${CMAKE_CURRENT_BINARY_DIR}/liborigin.pc DESTINATION ${CMAKE_INSTALL_LIBDIR}/pkgconfig) -+ if(ENABLE_TOOLS) - install(TARGETS opj2dat DESTINATION ${CMAKE_INSTALL_BINDIR} OPTIONAL) -+ endif () - endif () - - # documentation |