Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 22 Jun 2002 00:01:54 +0100
From:      Brian Somers <brian@Awfulhak.org>
To:        vegacap@i.com.ua
Cc:        sobomax@FreeBSD.org, cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   Re: cvs commit: ports/Mk bsd.port.mk
Message-ID:  <20020622000154.00b4d084.brian@Awfulhak.org>
In-Reply-To: <3D131BEA.3CFD730D@FreeBSD.org>
References:  <200206190821.g5J8LRM38683@freefall.freebsd.org> <20020621011806.29559271.brian@Awfulhak.org> <3D131BEA.3CFD730D@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, 21 Jun 2002 15:28:26 +0300, Maxim Sobolev <sobomax@FreeBSD.org> wrote:
> 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.

The problem originally occurred when I just did a make.  When USE_REINPLACE
wasn't defined, I got a '-e: Bad command' type message because RINPLACE_CMD
was being used but was not defined.

I think the problem was when building netpbm, but it seems to work ok now.
Maybe I cvsup'd at a bad time.  My apologies for the false alarm.

> -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>


-- 
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?20020622000154.00b4d084.brian>