Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 21 Jun 2002 15:28:26 +0300
From:      Maxim Sobolev <sobomax@FreeBSD.org>
To:        Brian Somers <brian@Awfulhak.org>
Cc:        cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   Re: cvs commit: ports/Mk bsd.port.mk
Message-ID:  <3D131BEA.3CFD730D@FreeBSD.org>
References:  <200206190821.g5J8LRM38683@freefall.freebsd.org> <20020621011806.29559271.brian@Awfulhak.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Brian Somers wrote:
> 
> This seemed to fail with RINPLACE_CMD being undefined when USE_REINPLACE
> is undefined and gets stuck in an infinite loop (sed_inplace seemed to
> depend on itself) when USE_REINPLACE is defined but sed_inplace isn't
> installed.
> 
> Installing sed_inplace manually and then doing make -DUSE_REINPLACE worked.

That's because you are adding -DUSE_REINPLACE into comman line (or
setting it via environment or /etc/make.conf) - it isn't intended to
be used like that. Try to build x11/XFree86-4-libraries with
-DUSE_XLIB - you will get the same effect. USE_REINPLACE should be
*only* defined in ports' Makefiles, it isn't something that the user
might need/want to set manually.

-Maxim

> 
> On Wed, 19 Jun 2002 01:21:27 -0700 (PDT), Maxim Sobolev <sobomax@FreeBSD.org> wrote:
> > sobomax     2002/06/19 01:21:27 PDT
> >
> >   Modified files:
> >     Mk                   bsd.port.mk
> >   Log:
> >   Change the way REINPLACE_CMD works - instead of using perl(1) on systems
> >   where sed(1) can't do in-place editing add a new USE_REINPLACE knob, which
> >   if turned on defines REINPLACE_CMD and adds textproc/sed_inplace port into
> >   BUILD_DEPENDS if necessary.
> >
> >   Not objected by:        portmgr@
> >
> >   Revision  Changes    Path
> >   1.415     +11 -7     ports/Mk/bsd.port.mk
> 
> --
> Brian <brian@Awfulhak.org>                       <brian.somers@sun.com>
>       <http://www.Awfulhak.org>;                <brian@[uk.]FreeBSD.org>
> Don't _EVER_ lose your sense of humour !       <brian@[uk.]OpenBSD.org>

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message




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