[MacPorts] #48916: New port: profanity

MacPorts noreply at macports.org
Wed Oct 11 16:59:03 UTC 2017


#48916: New port: profanity
----------------------------+--------------------------------
  Reporter:  link.dupont@…  |      Owner:  macports-tickets@…
      Type:  submission     |     Status:  new
  Priority:  Normal         |  Milestone:
 Component:  ports          |    Version:  2.3.3
Resolution:                 |   Keywords:
      Port:  profanity      |
----------------------------+--------------------------------

Comment (by kencu):

 passing this in
 {{{
 configure.args-append  \
 PYTHON_FRAMEWORK=${prefix}/Library/Frameworks/Python.framework

 }}}

 helps it find my local python (2.7). But the python installation will have
 to be fully specified in this port, probably to one of the 3.x versions at
 this point. It might be possible to do that via configure arguments, but I
 could not see a way to set `python-config` when I looked for one. It's
 possible it might need to be edited directly in the makefiles with a
 patch.

 Even when I did spec the `PYTHON_FRAMEWORK`, I next encountered this
 error:
 {{{
 checking for /usr/local/opt/readline/lib... no
 configure: error: libreadline is required for profanity
 }}}

 which seems a very strange place to be looking for `libreadline`, which is
 installed here:
 {{{
 /opt/local/lib/libreadline.7.0.dylib
 /opt/local/lib/libreadline.7.dylib
 /opt/local/lib/libreadline.a
 /opt/local/lib/libreadline.dylib
 }}}

 There seems to be no configure variable to specify that location to the
 build script, so that might need a patch as well.

 Hmmm. Bogged down. No doubt fixable in the end, but it will unfortunately
 take some more work. I will leave this here for a while to see if it's of
 interest to anyone to fix this.

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


More information about the macports-tickets mailing list