[MacPorts] #65100: weechat @3.5_0+ruby: error: invalid arch name '-arch -lx86_64'
MacPorts
noreply at macports.org
Sun Jan 22 08:35:59 UTC 2023
#65100: weechat @3.5_0+ruby: error: invalid arch name '-arch -lx86_64'
---------------------------+--------------------
Reporter: hexadecagram | Owner: cardi
Type: defect | Status: closed
Priority: Normal | Milestone:
Component: ports | Version: 2.7.2
Resolution: fixed | Keywords:
Port: weechat |
---------------------------+--------------------
Changes (by cardi):
* status: assigned => closed
* resolution: => fixed
Comment:
In [changeset:"32506e83d07b9ab62de124b57496c95cdb7587fa/macports-ports"
32506e83d07b9ab62de124b57496c95cdb7587fa/macports-ports] (master):
{{{
#!ConfigurableCommitTicketReference repository="macports-ports"
revision="32506e83d07b9ab62de124b57496c95cdb7587fa"
weechat: update to 3.8, fix ruby variant build, update {python,ruby}
variants (#17422)
* adds variants for ruby 3.0 (+ruby30), 3.1 (+ruby31), and 3.2 (+ruby32)
and updates +ruby variant to use ruby 3.2 (+ruby32)
* adds +python311 variant for python 3.11, and updates +python variant
to use python 3.11 (+python311)
* adds a patchfile to fix a build error (`error: invalid arch name
'-arch -lx86_64'`) when installing the ruby variant
the patch to one of the CMake files removes the hardcoded paths that
ruby is assumed to be installed to, and removes the `-arch ${os.arch}`
in RUBY_LDFLAGS provided by pkg-config as the space in between `-arch`
and `${os.arch}` led to string substitution errors during the build
process
see the corresponding trac ticket for details
Closes: https://trac.macports.org/ticket/65100
}}}
--
Ticket URL: <https://trac.macports.org/ticket/65100#comment:9>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list