From owner-freebsd-ports Thu Jan 28 16:47:01 1999 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id QAA19484 for freebsd-ports-outgoing; Thu, 28 Jan 1999 16:47:01 -0800 (PST) (envelope-from owner-freebsd-ports@FreeBSD.ORG) Received: from csmd2.cs.uni-magdeburg.de (prinz-atm.CS.Uni-Magdeburg.De [141.44.30.2]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id QAA19475 for ; Thu, 28 Jan 1999 16:46:54 -0800 (PST) (envelope-from jesse@prinz-atm.CS.Uni-Magdeburg.De) Received: from knecht.cs.uni-magdeburg.de (knecht [141.44.21.3]) by csmd2.cs.uni-magdeburg.de (8.9.1a/8.9.1) with ESMTP id BAA16668 for ; Fri, 29 Jan 1999 01:46:50 +0100 (MET) Received: (from jesse@localhost) by knecht.cs.uni-magdeburg.de (8.8.8+Sun/8.8.8) id BAA21078; Fri, 29 Jan 1999 01:45:37 +0100 (MET) From: Roland Jesse MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <14001.1199.669731.947141@knecht> Date: Fri, 29 Jan 1999 01:45:35 +0100 (MET) To: freebsd-ports@FreeBSD.ORG Subject: `for` construct in Makefiles X-Mailer: VM 6.63 under 20.4 "Emerald" XEmacs Lucid Reply-To: Roland Jesse X-Organization: University of Magdeburg X-Pgp-Fingerprint: 5D 08 5A E3 B4 AA 68 C1 FF 67 06 29 62 DD 9A D7 Content-Transfer-Encoding: 7bit Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org 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 ------- This does not work. The error message is: ------- snip ------- ===> Installing for ACE-4.6 for i in ACE_wrappers/ASNMP/tests/log/CVS/Root ACE_wrappers/ASNMP/tests/log/CVS/Repository ACE_wrappers/ASNMP/tests/log/CVS/Entries ... ACE_wrappers/WindozeCE/WindozeCE.rc ACE_wrappers/WindozeCE/WindozeCEDlg.cpp ACE_wrappers/WindozeCE/WindozeCEDlg.h ACE_wrappers/WindozeCE/resource.h for: not found *** Error code 1 Stop. *** Error code 1 Stop. *** Error code 1 Stop. ------- snap ------- Can one not use the shell's `for` in a Makefile or what is the point, I am missing here? Any hints are greatly appreciated. Roland P.S. I just subscribed to the list so no CC: is necessary. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message