[MacPorts] #65534: nspr @4.34+universal arm64, x86_64 fails to build

MacPorts noreply at macports.org
Tue Jul 26 17:06:42 UTC 2022


#65534: nspr @4.34+universal arm64,x86_64 fails to build
-----------------------+--------------------
  Reporter:  potterpg  |      Owner:  (none)
      Type:  defect    |     Status:  new
  Priority:  Normal    |  Milestone:
 Component:  ports     |    Version:
Resolution:            |   Keywords:
      Port:  nspr      |
-----------------------+--------------------

Comment (by kencu):

 you can do something like this:

 {{{bbedit `port file nspr`}}}

 then paste in this below the configure.args part:

 {{{
 configure.env-append HOST_CC=${configure.cc} \
                      HOST_CXX=${configure.cxx} \
                      HOST_CFLAGS=${configure.cflags} \
                      HOST_CXXFLAGS=${configure.cxxflags} \
                      HOST_LDFLAGS=${configure.ldflags}
 }}}

 then

 {{{sudo port clean nspr; sudo port -v install nspr +universal}}}

 and it will probably work to install a universal nspr, as it did for me.
 But I'm not pushing it to master as it is still not 100% right, and needs
 a bit better tweaking than that to be accepted into the main ports tree.

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


More information about the macports-tickets mailing list