[MacPorts] #57275: nco uses -I/usr/include/malloc

MacPorts noreply at macports.org
Sun Oct 7 01:35:47 UTC 2018


#57275: nco uses -I/usr/include/malloc
------------------------+----------------------
 Reporter:  ryandesign  |      Owner:  tenomoto
     Type:  defect      |     Status:  assigned
 Priority:  Normal      |  Milestone:
Component:  ports       |    Version:
 Keywords:              |       Port:  nco
------------------------+----------------------
 The nco portfile adds `-I/usr/include/malloc` to `CPPFLAGS`. It has done
 this ever since [227c2ac3a4309b872eade0c8adad9e1b2f829b7d/macports-ports],
 though the commit message doesn't say why it was added. The only file in
 /usr/include/malloc on prior systems was malloc.h, so I presume the
 project is—or was back in 2007—using `#include <malloc.h>` somewhere.

 I have not tried to build this port on Mojave yet but this can't work on
 Mojave because it doesn't have a /usr/include directory. It could be that
 the project no longer includes malloc.h. If so, the `-I` flag can just be
 removed. If the project still does include malloc.h, the include should be
 changed to stdlib.h; this should work on any version of macOS.

-- 
Ticket URL: <https://trac.macports.org/ticket/57275>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list