pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: audio/csound6 and devel/sdl12-compat failing on Darwin (macOS 14.0)



Am Dienstag 24 Oktober 2023 um 9:00:46 -0700, schrieb Jason Bacon 2,8K:
> # fgrep -ri bundle work/ | more
> 
> work//csound-6.18.1/Release_Notes/Version_6.12.md:- OSCbundle sends a
> collection of similar OSC messages as a single packet
> work//csound-6.18.1/CMakeLists.txt:set(MACOSX_FRAMEWORK_BUNDLE_VERSION
> ...
> 
> Maybe replace MACOSX_FRAMEWORK_BUNDLE_VERSION with something else that
> refers to a dylib?  Just a guess, as I'm not a cmake guru.
> 
> Gotta love build scripts almost as complicated as the application itself...

O.K., Custom.cmake.ex is the right place, according to CmakeLists.txt; I
re-named the example file to Custom.cmake and added the following two
lines:

- - - - - - - - - - %< - - - - - - - - - -

$NetBSD$

--- Custom.cmake.orig   2022-11-23 19:53:55.000000000 +0000
+++ Custom.cmake
@@ -6,6 +6,10 @@ set(CMAKE_VERBOSE_MAKEFILE ON)
 set(BUILD_STATIC_LIBRARY ON)
 set(TCL_VERSION 8.5)
 set(PYTHON_INCLUDE_DIRS "/usr/include/python2.7")
+SET(CMAKE_SHARED_LIBRARY_CREATE_C_FLAGS "-dynamiclib - headerpad_max_install_names")
+SET(CMAKE_FIND_LIBRARY_SUFFIXES ".dylib" ".so" ".a")

 #### NOTE the processor type needs setting
 #set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -W -Wall -mtune=core2")

- - - - - - - - - - %< - - - - - - - - - -

The result is:

- - - - - - - - - - %< - - - - - - - - - -

CMake Error: The following variables are used in this project, but they are set to NOTFOUND.
Please set them or make sure they are set and tested correctly in the CMake files:
PTHREAD_LIBRARY
    linked by target "rtjack" in directory /Users/mk/pkgsrc/wip/csound6181/work/csound-6.18.1/InOut

-- Generating done (0.2s)
CMake Generate step failed.  Build files cannot be regenerated correctly.
*** Error code 1

Stop.
bmake[1]: stopped in /Users/mk/pkgsrc/wip/csound6181
*** Error code 1
Stop.
bmake: stopped in /Users/mk/pkgsrc/wip/csound6181
(1) mk ~/.../wip/csound6181 $

- - - - - - - - - - %< - - - - - - - - - -

I'm in need of a hint again :-(

Kind regards.


Home | Main Index | Thread Index | Old Index