From owner-cvs-all Fri Jun 21 16: 2: 8 2002 Delivered-To: cvs-all@freebsd.org Received: from Awfulhak.org (gw.Awfulhak.org [217.204.245.18]) by hub.freebsd.org (Postfix) with ESMTP id 306FC37B409; Fri, 21 Jun 2002 16:02:01 -0700 (PDT) Received: from mail.lan.Awfulhak.org (brian@hak.Awfulhak.org [IPv6:2001:6f8:602:1::12]) by Awfulhak.org (8.12.3/8.12.3) with SMTP id g5LN1tMt040602; Sat, 22 Jun 2002 00:01:58 +0100 (BST) (envelope-from brian@Awfulhak.org) Date: Sat, 22 Jun 2002 00:01:54 +0100 From: Brian Somers 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> X-Mailer: Sylpheed version 0.7.6claws (GTK+ 1.2.10; i386-portbld-freebsd5.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Fri, 21 Jun 2002 15:28:26 +0300, Maxim Sobolev 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 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 > > > > Don't _EVER_ lose your sense of humour ! -- Brian Don't _EVER_ lose your sense of humour ! To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message