Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 30 Jul 2014 07:35:54 -0700
From:      Cy Schubert <Cy.Schubert@komquats.com>
To:        Cy Schubert <Cy.Schubert@komquats.com>
Cc:        svn-ports-head@freebsd.org, Baptiste Daroussin <bapt@FreeBSD.org>, ports-committers@freebsd.org, svn-ports-all@freebsd.org, Cy Schubert <cy@FreeBSD.org>
Subject:   Re: svn commit: r363477 - head/sysutils/cfengine36
Message-ID:  <201407301435.s6UEZs7s048024@slippy.cwsent.com>
In-Reply-To: Message from Cy Schubert <Cy.Schubert@komquats.com> of "Wed, 30 Jul 2014 07:19:34 -0700." <201407301419.s6UEJYWr031964@slippy.cwsent.com>

next in thread | previous in thread | raw e-mail | index | archive | help
In message <201407301419.s6UEJYWr031964@slippy.cwsent.com>, Cy Schubert 
writes:
> In message <20140730135450.GJ37672@ivaldir.etoilebsd.net>, Baptiste 
> Daroussin w
> rites:
> > On Wed, Jul 30, 2014 at 03:21:51PM +0200, Baptiste Daroussin wrote:
> > > On Wed, Jul 30, 2014 at 01:17:12PM +0000, Cy Schubert wrote:
> > > > Author: cy
> > > > Date: Wed Jul 30 13:17:12 2014
> > > > New Revision: 363477
> > > > URL: http://svnweb.freebsd.org/changeset/ports/363477
> > > > QAT: https://qat.redports.org/buildarchive/r363477/
> > > >=20
> > > > Log:
> > > >   Make poudriere happy.
> > > >=20
> > > > Modified:
> > > >   head/sysutils/cfengine36/Makefile
> > > >=20
> > > > Modified: head/sysutils/cfengine36/Makefile
> > > > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
> > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
> =
> > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
> =
> > =3D=3D=3D=3D=3D
> > > > --- head/sysutils/cfengine36/Makefile	Wed Jul 30 13:15:40 2014
> > 	(r363476)
> > > > +++ head/sysutils/cfengine36/Makefile	Wed Jul 30 13:17:12 2014
> > 	(r363477)
> > > > @@ -42,6 +42,7 @@ CONFIGURE_ARGS=3D	--docdir=3D${DOCSDIR} \
> > > >  		--with-lmdb=3D${LOCALBASE} \
> > > >  		--enable-fhs
> > > > =20
> > > > +BUILD_DEPENDS+=3D	${LOCALBASE}/include/pcre.h:${PORTSDIR}/devel/p
> > cre
> > > >  LIB_DEPENDS+=3D	libpcre.so:${PORTSDIR}/devel/pcre \
> > > >  		liblmdb.so:${PORTSDIR}/databases/lmdb
> > > > =20
> > >=20
> > > This is 100% noop and changes nothing that won't make poudriere more happ
> =
> > y then
> > > before.
> > >=20
> > 
> > This ports have multiple problem due to patch-m4-strndup.m4
> > when building locally it works because you might have autotools installed
> > locally and configrue automatically run aclocal because the m4 file has cha
> =
> > nged.
> > But that breaks USES=3Dlibtool hence the libexec/cfengine/libpromises.so.3 
> =
> > not
> > being created fixed by your addition of post-install
> > 
> > on the cluster you are in a clean env so aclocal is not there given you did
> =
> >  not
> > asked it to be there.
> > 
> > You have 2 possibility either remove patch-m4-strndup.m4, add
> > CPPFLAGS=3D-I${LOCALBASE}/include, remove your new BUILD_DEPENDS and remove
> =
> >  your
> > post-install
> > 
> > or keep your patch-m4-stdndup.m4 and regenerate configure with USE_AUTOTOOL
> S
> > macros, add CPPFLAGS=3D-I${LOCALBASE}/include, remove your new BUILD_DEPEND
> =
> > S and remove your
> > post-install
> > 
> > There is no point in patching m4 macros if you do not regenerate the autoto
> =
> > ols
> > 
> > This patch http://people.freebsd.org/~bapt/cfengine36.diff does the first t
> =
> > hing.
> 
> 
> Try this.

I'm using yours instead. aclocal.m4 will have a removed strndup.m4 
reference.

Right now it's in a configure loop and I'll look at it when I get a chance 
later on this morning.


-- 
Cheers,
Cy Schubert <Cy.Schubert@komquats.com>
FreeBSD UNIX:  <cy@FreeBSD.org>   Web:  http://www.FreeBSD.org

	The need of the many outweighs the greed of the few.





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201407301435.s6UEZs7s048024>