[MacPorts] #62644: mediainfolib @21.03: error: unknown type name 'sha1_ctx'

MacPorts noreply at macports.org
Wed Apr 7 02:58:04 UTC 2021


#62644: mediainfolib @21.03: error: unknown type name 'sha1_ctx'
---------------------------+------------------------
  Reporter:  cooljeanius   |      Owner:  ctreleaven
      Type:  defect        |     Status:  assigned
  Priority:  Normal        |  Milestone:
 Component:  ports         |    Version:
Resolution:                |   Keywords:
      Port:  mediainfolib  |
---------------------------+------------------------

Comment (by ctreleaven):

 Another possibility is to add the following to the Portfile:

 {{{
 # make pkg-config act like on Linux, no '-I/opt/local/include' in cflags
 configure.env-append    PKG_CONFIG_SYSTEM_INCLUDE_PATH=${prefix}/include
 }}}

 This might prevent the offending include files from being Included too
 early.

 Would you mind trying this change and reporting back?

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


More information about the macports-tickets mailing list