perl/Module-Build-Tiny: update to 0.051 for Perl 5.36 and 5.38
[oi-userland.git] / components / multimedia / freealut / patches / 01-lib-suffix.patch
blobd50ea4cbabdc9fb63fe409c9c5561d0f6e406c60
1 diff -puNr freealut-freealut_1_1_0.orig/CMakeLists.txt freealut-freealut_1_1_0/CMakeLists.txt
2 --- freealut-freealut_1_1_0.orig/CMakeLists.txt 2006-05-22 13:28:57.000000000 +0000
3 +++ freealut-freealut_1_1_0/CMakeLists.txt 2018-04-18 05:36:26.190176524 +0000
4 @@ -144,7 +144,7 @@ IF(BUILD_STATIC)
5 ARGS -E copy
6 ${CMAKE_BINARY_DIR}/${CMAKE_STATIC_LIBRARY_PREFIX}alut_static${CMAKE_STATIC_LIBRARY_SUFFIX}
7 ${CMAKE_BINARY_DIR}/${CMAKE_STATIC_LIBRARY_PREFIX}alut${CMAKE_STATIC_LIBRARY_SUFFIX})
8 - INSTALL_FILES(/lib FILES ${CMAKE_STATIC_LIBRARY_PREFIX}alut${CMAKE_STATIC_LIBRARY_SUFFIX})
9 + INSTALL_FILES(/lib${LIB_SUFFIX} FILES ${CMAKE_STATIC_LIBRARY_PREFIX}alut${CMAKE_STATIC_LIBRARY_SUFFIX})
10 ENDIF(NOT WIN32)
11 ENDIF(BUILD_STATIC)
13 @@ -153,14 +153,14 @@ ADD_LIBRARY(alut SHARED ${ALUT_SOURCES})
14 SET_TARGET_PROPERTIES(alut PROPERTIES VERSION ${VERSION} SOVERSION ${MAJOR_VERSION})
15 TARGET_LINK_LIBRARIES(alut ${OPENAL_LIB} ${ADD_LIBS})
17 -INSTALL_TARGETS(/lib alut)
18 +INSTALL_TARGETS(/lib${LIB_SUFFIX} alut)
19 INSTALL_FILES(/include/AL FILES include/AL/alut.h)
21 # needed for openal.pc.in and openal-config.in
22 SET(prefix ${CMAKE_INSTALL_PREFIX})
23 SET(exec_prefix "\${prefix}")
24 -SET(libdir "\${exec_prefix}/lib")
25 -SET(bindir "\${exec_prefix}/bin")
26 +SET(libdir "\${exec_prefix}/lib${LIB_SUFFIX}")
27 +SET(bindir "\${exec_prefix}/bin${LIB_SUFFIX}")
28 SET(includedir "\${prefix}/include")
29 SET(requirements "")
30 # static linking dependecies are broken, so pthread isn't needed currently
31 @@ -171,7 +171,7 @@ CONFIGURE_FILE(${CMAKE_SOURCE_DIR}/admin
32 CONFIGURE_FILE(${CMAKE_SOURCE_DIR}/admin/pkgconfig/freealut-config.in
33 ${CMAKE_BINARY_DIR}/admin/pkgconfig/freealut-config @ONLY)
34 INSTALL_PROGRAMS(/bin FILES admin/pkgconfig/freealut-config)
35 -INSTALL_FILES(/lib/pkgconfig FILES admin/pkgconfig/freealut.pc)
36 +INSTALL_FILES(/lib${LIB_SUFFIX}/pkgconfig FILES admin/pkgconfig/freealut.pc)
39 # test-suite