[MacPorts] #30511: ngrep fails to build
MacPorts
noreply at macports.org
Tue Aug 2 08:05:44 PDT 2011
#30511: ngrep fails to build
----------------------------------+-----------------------------------------
Reporter: david@… | Owner: grace@…
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.0.0
Keywords: | Port: ngrep
----------------------------------+-----------------------------------------
Comment(by arno+macports@…):
OK, this is a bug in the ngrep Makefile.in.
As described in [this http://www.mail-archive.com/bug-
make at gnu.org/msg00102.html thread], MAKEFLAGS should not be passed
recursively to calls to 'make' within the Makefile. Line 66 of Makefile.in
contains such an error. Removing the "$(MAKEFLAGS)" bit from that line
allows ngrep to build with "make -j2 -w all".
A reinplace should be enough to strip that out prior to calling configure.
I think the following should handle it.
{{{
pre-configure {
reinplace s|\$(MAKE) \$(MAKEFLAGS)|$(MAKE)| ${worksrcpath}/Makefile.in
}
}}}
--
Ticket URL: <https://trac.macports.org/ticket/30511#comment:5>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
More information about the macports-tickets
mailing list