[MacPorts] #60937: flex: Missing include .h files

MacPorts noreply at macports.org
Sun Aug 2 13:00:30 UTC 2020


#60937: flex: Missing include .h files
-----------------------+------------------------
  Reporter:  vdoublie  |      Owner:  ryandesign
      Type:  defect    |     Status:  accepted
  Priority:  Normal    |  Milestone:
 Component:  ports     |    Version:  2.6.99
Resolution:            |   Keywords:  xcode12
      Port:  flex      |
-----------------------+------------------------

Comment (by vdoublie):

 Actually it turns out that flex is not missing a simple include, but
 rather missing linker options (-Wl,-undefined -Wl,dynamic_lookup) which
 are not configured because configure script has (of course) not been
 updated to handle macOS 11.

 I have attached a patch file that will fix this issue for flex
 (essentially the same fix as required for gcc10).

 The following should be added to the Portfile in order to make use of it:

 {{{
 patchfiles          libtool.m4.diff

 post-patch {
     system "cd ${worksrcpath} && autoreconf"
 }
 }}}

 Unless of course the patch can be applied  upstream.

 Many thanks in advance.

 Best regards, Vanessa

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


More information about the macports-tickets mailing list