From owner-freebsd-ports Thu Jan 28 19:43:23 1999 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id TAA11218 for freebsd-ports-outgoing; Thu, 28 Jan 1999 19:43:23 -0800 (PST) (envelope-from owner-freebsd-ports@FreeBSD.ORG) Received: from mail.westbend.net (ns1.westbend.net [156.46.203.3]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id TAA11203 for ; Thu, 28 Jan 1999 19:43:15 -0800 (PST) (envelope-from hetzels@westbend.net) Received: from admin (admin.westbend.net [156.46.203.13]) by mail.westbend.net (8.8.8/8.8.8) with SMTP id VAA06812; Thu, 28 Jan 1999 21:42:45 -0600 (CST) (envelope-from hetzels@westbend.net) Message-ID: <01d401be4b39$718f7a40$0dcb2e9c@westbend.net> From: "Scot W. Hetzel" To: "Roland Jesse" , References: <14001.1199.669731.947141@knecht> Subject: Re: `for` construct in Makefiles Date: Thu, 28 Jan 1999 21:42:49 -0600 Organization: West Bend Internet MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.00.2013.1300 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2013.1300 Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org From: Roland Jesse > Hello, > > I am currently in the process of putting together the port for ACE > 4.6. > > I already set up the PLIST file with all the names of the files to be installed > (which is only a subset of work/ACE_wrappers). > > To install all the files, I ended up trying the following: > > ------- snip ------- > INSTALLFILES!= cat pkg/PLIST > > do-install: > @${MKDIR} ${PREFIX}/ACE_wrappers > for i in ${INSTALLFILES} > do > cp work/${i} ${PREFIX}/ACE_wrappers/${i} > done > ------- snap ------- I believe you have to use $${i} in make files. As the "for .. " statement is run in a separate shell, and the extra $ escapes the second. Scot To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message