Hi!
The Makefile currently includes these arguments:
- - - - - - - - - - %< - - - - - - - - - -
CFLAGS+= -g -DBETA
CFLAGS+= -DCS_DEFAULT_PLUGINDIR=\"${PREFIX}/lib/csound/plugins64-6.0\"
USE_CMAKE= yes
CMAKE_ARGS+= -DBUILD_RELEASE=1
CMAKE_ARGS+= -DCMAKE_BUILD_TYPE=Release
CMAKE_ARGS+= -DCMAKE_VERBOSE_MAKEFILE=1
#CMAKE_INSTALL_RPATH doesn't work for some reason, so do it here.
LDFLAGS+= \{COMPILER\_RPATH\_FLAG\}{PREFIX}/lib/csound6
- - - - - - - - - - %< - - - - - - - - - -
These options were taken from audio/csound6 and can be changed /
removed. I'm not 99,9% confident, that these are the necessary
arguments, especially the CFLAGS...
options.mk includes these arguments:
- - - - - - - - - - %< - - - - - - - - - -
PKG_OPTIONS_VAR= PKG_OPTIONS.csound6
PKG_SUPPORTED_OPTIONS= jack portaudio pulseaudio
.include "../../mk/bsd.fast.prefs.mk"
.if \{OPSYS\} == "Linux"
PKG\_SUPPORTED\_OPTIONS\+= alsa
PKG\_SUGGESTED\_OPTIONS\+= alsa
\.elif {OPSYS} != "Darwin" && ${OPSYS} != "Haiku"
PKG_SUGGESTED_OPTIONS+= portaudio
.endif
.include "../../mk/bsd.options.mk"
PLIST_VARS+= alsa
.if !empty(PKG_OPTIONS:Malsa)
.include "../../audio/alsa-lib/buildlink3.mk"
CMAKE_ARGS+= -DUSE_ALSA=ON
PLIST.alsa= yes
.else
CMAKE_ARGS+= -DUSE_ALSA=OFF
.endif
PLIST_VARS+= jack
.if !empty(PKG_OPTIONS:Mjack)
.include "../../audio/jack/buildlink3.mk"
CMAKE_ARGS+= -DUSE_JACK=ON
PLIST.jack= yes
.else
CMAKE_ARGS+= -DUSE_JACK=OFF
.endif
PLIST_VARS+= portaudio
.if !empty(PKG_OPTIONS:Mportaudio)
.include "../../audio/portaudio/buildlink3.mk"
CMAKE_ARGS+= -DUSE_PORTAUDIO=ON
CMAKE_ARGS+= -DCMAKE_INCLUDE_PATH=\{BUILDLINK\_PREFIX\.portaudio\}/include/portaudio2
CMAKE\_ARGS\+= \-DCMAKE\_LIBRARY\_PATH={BUILDLINK_PREFIX.portaudio}/lib/portaudio2
PLIST.portaudio= yes
.else
CMAKE_ARGS+= -DUSE_PORTAUDIO=OFF
.endif
PLIST_VARS+= pulseaudio
.if !empty(PKG_OPTIONS:Mpulseaudio)
.include "../../audio/pulseaudio/buildlink3.mk"
CMAKE_ARGS+= -DUSE_PULSEAUDIO=ON
PLIST.pulseaudio= yes
.else
CMAKE_ARGS+= -DUSE_PULSEAUDIO=OFF
.endif
- - - - - - - - - - %< - - - - - - - - - -
options.mk is mainly for the audio backend; the default setting is jack
(doesn't matter if the system is Darwin).
I tried setting in the Makefile:
CMAKE_ARGS+= -DBUILD_SHARED_LIBS=1
The reason was, that I spotted the "-dynamiclib" compiler flag in your
logs. But no change...
Kind regards.
Csound mailing list
Csound@listserv.heanet.ie
https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND
Send bugs reports to
Issues · csound/csound · GitHub
Discussions of bugs and features can be posted here