File: Install-sdl.m4-to-target-dir-instead-of-full-dir.patch

package info (click to toggle)
sdl12-compat 1.2.70-3
  • links: PTS, VCS
  • area: main
  • in suites:
  • size: 3,080 kB
  • sloc: ansic: 33,090; python: 1,346; objc: 294; sh: 202; makefile: 13
file content (22 lines) | stat: -rw-r--r-- 824 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
From: Petar Popovic <pjoetri@gmail.com>
Date: Thu, 30 Oct 2025 23:05:50 +0100
Subject: Install sdl.m4 to target dir instead of full dir

Origin: upstream, 1.2.72, commit:216d766c5bd6350c30393226ab8e4a8d14d5d0b3
---
 CMakeLists.txt | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/CMakeLists.txt b/CMakeLists.txt
index 67d6bb2..1489a32 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -243,7 +243,7 @@ if(SDL12DEVEL)
     install(FILES ${CMAKE_CURRENT_BINARY_DIR}/libSDL${SOPOSTFIX}${SOEXT} DESTINATION "${CMAKE_INSTALL_LIBDIR}")
   endif()
 
-  install(FILES "${CMAKE_CURRENT_SOURCE_DIR}/sdl.m4" DESTINATION "${CMAKE_INSTALL_FULL_DATAROOTDIR}/aclocal")
+  install(FILES "${CMAKE_CURRENT_SOURCE_DIR}/sdl.m4" DESTINATION "${CMAKE_INSTALL_DATAROOTDIR}/aclocal")
 endif()
 
 if(STATICDEVEL AND SDL12DEVEL)