> > > Index: Makefile
> > > ===================================================================
> > > RCS file: /cvs/ports/devel/arm-none-eabi/newlib/Makefile,v
> > > retrieving revision 1.1.1.1
> > > diff -u -p -r1.1.1.1 Makefile
> > > --- Makefile  28 May 2015 23:28:26 -0000      1.1.1.1
> > > +++ Makefile  12 Jul 2015 23:42:48 -0000
> > > @@ -7,6 +7,13 @@ VERSION=     2.2.0.1
> > >  PKGNAME=     ${CONFIG}-newlib-${VERSION}
> > >  #REVISION=   0
> > >
> > > +# The build stage for newlib invokes configure (repeatedly), so make
> > > +# sure the sub-configures run in a suitable environment.
> > > +# Without this, if coreutils is present at configure time, the
> > > +# sub-configures will pick up gmkdir as their preferred concurrency-safe
> > > +# 'mkdir -p'.
> > > +MAKE_ENV+=   ${CONFIGURE_ENV}
> > > +
> > >  HOMEPAGE=    http://sourceware.org/newlib/
> > >
> > >  MASTER_SITES=        ftp://sourceware.org/pub/newlib/
> > >
> > >
> > Builds for me, with coreutils uninstalled mid build.
> >
> >
> This seems reasonable to me. Does anyone have any objections?

I think this is less of a hammer:

Index: Makefile
===================================================================
RCS file: /cvs/ports/devel/arm-none-eabi/newlib/Makefile,v
retrieving revision 1.1.1.1
diff -u -p -u -p -r1.1.1.1 Makefile
--- Makefile    28 May 2015 23:28:26 -0000      1.1.1.1
+++ Makefile    13 Jul 2015 16:33:26 -0000
@@ -25,6 +25,13 @@ USE_GROFF=   No
 CONFIGURE_ARGS+=--enable-interwork \
                --enable-multilib
 
+# The build stage for newlib invokes configure (repeatedly), so make
+# sure the sub-configures run in a suitable environment.
+# Without this, if coreutils is present at configure time, the
+# sub-configures will pick up gmkdir as their preferred concurrency-safe
+# 'mkdir -p'
+MAKE_ENV +=    MKDIR_P='mkdir -p'
+
 post-install:
        ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/newlib
        ${INSTALL_DATA} ${WRKDIST}/COPYING.NEWLIB \


-- 
Antoine

Reply via email to