From owner-cvs-all@FreeBSD.ORG Sat Jun 16 06:32:43 2007 Return-Path: X-Original-To: cvs-all@freebsd.org Delivered-To: cvs-all@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 1033) id DC4F016A41F; Sat, 16 Jun 2007 06:32:43 +0000 (UTC) Date: Sat, 16 Jun 2007 06:32:43 +0000 From: Alexey Dokuchaev To: Andrew Pantyukhin Message-ID: <20070616063243.GA9047@FreeBSD.org> References: <200706152057.l5FKv26c070603@repoman.freebsd.org> <20070615210224.3C6A116A5D1@hub.freebsd.org> <1181947632.52923.7.camel@ikaros.oook.cz> Mime-Version: 1.0 Content-Type: text/plain; charset=koi8-r Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.2.1i Cc: cvs-ports@freebsd.org, pav@freebsd.org, cvs-all@freebsd.org, ports-committers@freebsd.org Subject: Re: cvs commit: ports/graphics/tcm Makefile pkg-message ports/graphics/tcm/files patch-debian-gcc4 pkg-message.in X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 16 Jun 2007 06:32:44 -0000 On Sat, Jun 16, 2007 at 10:23:09AM +0400, Andrew Pantyukhin wrote: > On 6/16/07, Pav Lucistnik wrote: > >Andrew Pantyukhin p????e v so 16. 06. 2007 v 01:20 +0400: > > > >> > -WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION} > >> > -PKGMESSAGE= ${WRKSRC}/pkg-message > >> > -USE_MOTIF= yes > >> > USE_BISON= yes > >> > USE_GMAKE= yes > >> > +USE_MOTIF= yes > >> > + > >> > +WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION} > >> > +SUB_FILES+= pkg-message > >> > >> PKGMESSAGE defaults to PKGDIR/pkg-message. If we > >> have it processed with SUB_FILES, it will end up > >> in WRKDIR/pkg-message > > > >So? His usage of SUB_FILES is perfectly fine. > > What I can't seem to understand is why PKGMESSAGE is > changing from PKGDIR/pkg-message to WRKDIR/pkg-message > when SUB_FILES=pkg-message is defined. Probably because of this: bpm, around line 5554: .for i in pkg-message pkg-install pkg-deinstall pkg-req .if ${SUB_FILES:M${i}*}!="" ${i:S/-//:U}= ${WRKDIR}/${SUB_FILES:M${i}*} .endif .endfor ./danfe