[MacPorts] #69745: pulseaudio @17.0 -x11: build fails on m4 tool

MacPorts noreply at macports.org
Tue Apr 16 09:30:14 UTC 2024


#69745: pulseaudio @17.0 -x11: build fails on m4 tool
-------------------------+--------------------
  Reporter:  DrLex0      |      Owner:  (none)
      Type:  defect      |     Status:  new
  Priority:  Normal      |  Milestone:
 Component:  ports       |    Version:  2.9.3
Resolution:              |   Keywords:  sonoma
      Port:  pulseaudio  |
-------------------------+--------------------
Changes (by ryandesign):

 * keywords:   => sonoma


Comment:

 The pulseaudio port uses the meson build system, not cmake. It does
 install cmake files for use by other ports that use the cmake build system
 and want to use it to find pulseaudio. The pulseaudio meson build system
 uses the m4 program to transform the template cmake file into the final
 file. From its meson.build file:

 {{{
   m4 = find_program('m4', required: true)
 }}}

 {{{
   custom_target('PulseAudioConfig.cmake',
     input : cmake_template_file,
     output : 'PulseAudioConfig.cmake',
     capture : true,
     command : [m4, '@INPUT@'],
     build_by_default : true,
     install : true,
     install_dir : cmakedir,
   )
 }}}

-- 
Ticket URL: <https://trac.macports.org/ticket/69745#comment:1>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list