#33479: p5.12-cgi-speedycgi fails to build with clang ----------------------------------+--------------------- Reporter: arno.barbier@… | Owner: markd@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.4 Resolution: | Keywords: Port: p5.12-cgi-speedycgi | ----------------------------------+--------------------- Comment (by jan.michael@…): Replying to [comment:3 jmr@…]:
Could be expecting GNU extension semantics for the inline keyword, rather than the standard C99 semantics provided by clang. If so, adding `-std=gnu89` to the CFLAGS should make it work.
I have the same problem with p5.12-cgi-speedycgi while trying to build smokeping. I don't really understand your instructions. So I tried adding {{{ configure.cflags-append "-std=gnu89" }}} to {{{ /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/perl/p5 -cgi-speedycgi/Portfile }}} But this didn't helped anything, although I cleaned the installation before. Hope someone can help here, because that's the only way I get smokeping working under 10.8 Mountain Lion on a MacBook Air. -- Ticket URL: <https://trac.macports.org/ticket/33479#comment:6> MacPorts <http://www.macports.org/> Ports system for Mac OS