Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 11 Mar 2002 23:02:46 +0100
From:      Ernst de Haan <znerd@FreeBSD.org>
To:        ports@FreeBSD.org
Subject:   .for woes
Message-ID:  <02031123024601.00964@heinz>

next in thread | raw e-mail | index | archive | help
Hi,

I'm noticing some weird behaviour. This is my test Makefile:

   PORTNAME=       testport
   PORTVERSION=    1
   FILES:= ${FILESDIR}/a \
                   ${FILESDIR}/b
   CATEGORIES=     #
 
   DISTFILES=      #
   EXTRACT_ONLY=   #
 
   do-build:
           @${ECHO_CMD} "Files: ${FILES}"
   .for f in ${FILES}
           @${ECHO_CMD}  "File $f..."
   .endfor
 
   .include <bsd.port.mk>

Surprisingly, the result of running 'make' is:

   ===>  Extracting for testport-1
   ===>  Patching for testport-1
   ===>  Configuring for testport-1
   ===>  Building for testport-1
   Files: /usr/home/ernst/testport/files/a  /usr/home/ernst/testport/files/b
   File /a...
   File /b...

How do I get the full file names within the .for ?


Ernst

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?02031123024601.00964>