From owner-freebsd-ports Fri Oct 27 1:53:44 2000 Delivered-To: freebsd-ports@freebsd.org Received: from blizzard.sabbo.net (blizzard.sabbo.net [193.193.218.18]) by hub.freebsd.org (Postfix) with ESMTP id 3BBDF37B479 for ; Fri, 27 Oct 2000 01:53:38 -0700 (PDT) Received: from vic.sabbo.net (root@vic.sabbo.net [193.193.218.109]) by blizzard.sabbo.net (8.10.1/8.10.1) with ESMTP id e9R8tPb12347; Fri, 27 Oct 2000 11:55:27 +0300 Received: from FreeBSD.org (big_brother.vega.com [192.168.1.1]) by vic.sabbo.net (8.11.0/8.9.3) with ESMTP id e9R8rQO23634; Fri, 27 Oct 2000 11:53:26 +0300 (EEST) (envelope-from sobomax@FreeBSD.org) Message-ID: <39F94283.2C8FC791@FreeBSD.org> Date: Fri, 27 Oct 2000 11:53:24 +0300 From: Maxim Sobolev Organization: Vega International Capital X-Mailer: Mozilla 4.76 [en] (WinNT; U) X-Accept-Language: uk,ru,en MIME-Version: 1.0 To: "David W. Chapman Jr." Cc: ports@FreeBSD.org Subject: Re: New References: <061201c03ff1$2dac2ae0$931576d8@inethouston.net> Content-Type: text/plain; charset=koi8-r Content-Transfer-Encoding: 7bit Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org "David W. Chapman Jr." wrote: > I'm new to modifying/creating, I've taken a look at the handbook and also > bsd.port.mk and can't figure out why this doesn't work like it should. > > When i do make USE_FACILITY=something I get this error > > su-2.04# make USE_FACILITY=something > ===> Extracting for isc-dhcp3-3.0.b2.9 > >> Checksum OK for dhcp-3.0b2pl9.tar.gz. > ===> Patching for isc-dhcp3-3.0.b2.9 > ===> Applying FreeBSD patches for isc-dhcp3-3.0.b2.9 > Variable USE_FACILITY is recursive. > *** Error code 2 > > When I just do make it does not echo the message I typed for it to echo > > [..] > USE_FACILITY= `${ECHO} ${USE_FACILITY} | ${TR} "[:lower:]" "[:upper:]"` You can't use constructs like this, because of the way make(1) performs variable expansions (see `man make' for details). If you really need something like that, then you can use: _USE_FACILITY:= `${ECHO} ${USE_FACILITY} | ${TR} "[:lower:]" "[:upper:]"` USE_FACILITY=${_USE_FACILITY} (note ":=" instead of plain "=" in the first assignment). -Maxim To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message