summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPo-Chuan Hsieh <sunpoet@FreeBSD.org>2025-06-18 00:33:02 +0800
committerPo-Chuan Hsieh <sunpoet@FreeBSD.org>2025-06-18 01:47:43 +0800
commitf0a8de34b4a859a847692f973f719c37d88d2dac (patch)
tree6ad5bbfb4de099963ae84e6181effcb738666a56
parentdevel/phpunit12: Update to 12.2.0 (diff)
devel/zziplib: Fix SDL option
Reference: https://github.com/gdraheim/zziplib/pull/181
-rw-r--r--devel/zziplib/files/patch-SDL-CMakeLists.txt13
1 files changed, 13 insertions, 0 deletions
diff --git a/devel/zziplib/files/patch-SDL-CMakeLists.txt b/devel/zziplib/files/patch-SDL-CMakeLists.txt
new file mode 100644
index 000000000000..f84ff30138e8
--- /dev/null
+++ b/devel/zziplib/files/patch-SDL-CMakeLists.txt
@@ -0,0 +1,13 @@
+Reference: https://github.com/gdraheim/zziplib/pull/181
+
+--- SDL/CMakeLists.txt.orig 2025-05-30 06:42:56 UTC
++++ SDL/CMakeLists.txt
+@@ -71,7 +71,7 @@ install(FILES ${CMAKE_CURRENT_BINARY_DIR}/SDL_rwops_zz
+ add_custom_target(pkgconfig-sdl ALL DEPENDS SDL_rwops_zzip.pc)
+
+ install(FILES ${CMAKE_CURRENT_BINARY_DIR}/SDL_rwops_zzip.pc
+- DESTINATION "${CMAKE_INSTALL_DATADIR}/pkgconfig" )
++ DESTINATION "${CMAKE_INSTALL_LIBDIR}/pkgconfig" )
+ endif(ZZIP_PKGCONFIG)
+ endif(SDL_FOUND)
+