From owner-cvs-all Fri Jun 21 5:27:36 2002 Delivered-To: cvs-all@freebsd.org Received: from sdns.kv.ukrtel.net (sdns.kv.ukrtel.net [195.5.27.246]) by hub.freebsd.org (Postfix) with ESMTP id A449C37B410; Fri, 21 Jun 2002 05:27:30 -0700 (PDT) Received: from vega.vega.com (195.5.51.243 [195.5.51.243]) by sdns.kv.ukrtel.net with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2650.21) id M7SJ64T8; Fri, 21 Jun 2002 15:29:35 +0300 Received: from FreeBSD.org (big_brother.vega.com [192.168.1.1]) by vega.vega.com (8.11.6/8.11.3) with ESMTP id g5LCRNb42808; Fri, 21 Jun 2002 15:27:23 +0300 (EEST) (envelope-from sobomax@FreeBSD.org) Message-ID: <3D131BEA.3CFD730D@FreeBSD.org> Date: Fri, 21 Jun 2002 15:28:26 +0300 From: Maxim Sobolev Reply-To: vegacap@i.com.ua Organization: Vega International Capital X-Mailer: Mozilla 4.79 [en] (Windows NT 5.0; U) X-Accept-Language: en,uk,ru MIME-Version: 1.0 To: Brian Somers Cc: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: ports/Mk bsd.port.mk References: <200206190821.g5J8LRM38683@freefall.freebsd.org> <20020621011806.29559271.brian@Awfulhak.org> Content-Type: text/plain; charset=koi8-r 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 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 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 ! To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message