[MacPorts] #57758: gnudatalanguage @0.9.7: fatal error: '/usr/include/fnmatch.h' file not found
MacPorts
noreply at macports.org
Mon Dec 10 22:03:17 UTC 2018
#57758: gnudatalanguage @0.9.7: fatal error: '/usr/include/fnmatch.h' file not
found
------------------------+-----------------------------
Reporter: ryandesign | Owner: tenomoto
Type: defect | Status: assigned
Priority: Normal | Milestone:
Component: ports | Version:
Keywords: mojave | Port: gnudatalanguage
------------------------+-----------------------------
[https://build.macports.org/builders/ports-10.14_x86_64-builder/builds/17778/steps
/install-port/logs/stdio gnudatalanguage fails to build on mojave], which
has no /usr/include:
{{{
/opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_math_gnudatalanguage/gnudatalanguage/work/gdl-0.9.7/src/file.cpp:46:11:
fatal error: '/usr/include/fnmatch.h' file not found
# include "/usr/include/fnmatch.h"
^~~~~~~~~~~~~~~~~~~~~~~~
}}}
This is happening because the Portfile does this:
{{{
post-patch {
# Avoid using heimdal's broken fnmatch.h
reinplace "s|<\\(fnmatch\.h\\)>|\"/usr/include/\\1\"|"
${worksrcpath}/src/file.cpp
}
}}}
--
Ticket URL: <https://trac.macports.org/ticket/57758>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list