zynaddsubfx: patch to remove -lrt and reenable tests, ok maintainer
This commit is contained in:
parent
f2fe038a56
commit
04f26aa8c3
@ -4,6 +4,7 @@ ONLY_FOR_ARCHS= i386 amd64
|
||||
COMMENT= synth capable of making a countless number of instruments
|
||||
|
||||
DISTNAME= zynaddsubfx-3.0.6
|
||||
REVISION= 0
|
||||
|
||||
CATEGORIES= audio
|
||||
|
||||
@ -40,8 +41,7 @@ CONFIGURE_ARGS= -DGuiModule=zest \
|
||||
-DLashEnable=OFF \
|
||||
-DOssEnable=OFF \
|
||||
-DPaEnable=OFF \
|
||||
-DSndioEnable=ON \
|
||||
-DCompileTests=OFF
|
||||
-DSndioEnable=ON
|
||||
|
||||
post-patch:
|
||||
sed -i s,/usr/X11R6,${X11BASE}, ${WRKSRC}/src/CMakeLists.txt
|
||||
|
16
audio/zynaddsubfx/patches/patch-src_Tests_CMakeLists_txt
Normal file
16
audio/zynaddsubfx/patches/patch-src_Tests_CMakeLists_txt
Normal file
@ -0,0 +1,16 @@
|
||||
Index: src/Tests/CMakeLists.txt
|
||||
--- src/Tests/CMakeLists.txt.orig
|
||||
+++ src/Tests/CMakeLists.txt
|
||||
@@ -61,7 +61,11 @@ if(NOT (${CMAKE_SYSTEM_NAME} STREQUAL "Windows"))
|
||||
${PLATFORM_LIBRARIES})
|
||||
|
||||
add_executable(ins-test InstrumentStats.cpp)
|
||||
- target_link_libraries(ins-test ${test_lib} rt)
|
||||
+ if(HAVE_LIBRT)
|
||||
+ target_link_libraries(ins-test ${test_lib} rt)
|
||||
+ else()
|
||||
+ target_link_libraries(ins-test ${test_lib})
|
||||
+ endif()
|
||||
|
||||
if(LIBLO_FOUND)
|
||||
cp_script(check-ports.rb)
|
Loading…
Reference in New Issue
Block a user