Subject: Re: @cwd is ignored by lstat(2) in pkg_create(8)
To: Masao Uebayashi <uebayasi@soum.co.jp>
From: Alistair Crooks <agc@pkgsrc.org>
List: tech-pkg
Date: 01/12/2002 20:44:05
On Sun, Jan 13, 2002 at 03:46:26AM +0900, Masao Uebayashi wrote:
> Hello,
>
> If @cwd is used to change an install directory other than ${PREFIX},
> say /var/foo, in PLIST, pkg_create(8) fails to lstat(2) to the files
> within the @cwd because pkg_create is invoked with `-L SrcDir' option,
> which overrides @cwd. Is this behavier okay? (I don't understand what
> srcdir is for, yet.)
>
> To repeat this problem, do `make package' under japanese/freewnn-server.
I'd really like to get rid of the @cwd directives in the PLISTs of
canna-lib/PLIST:@cwd ${DICT_DIR}
canna-lib/PLIST:@cwd ${DICT_DIR}
canna-lib/PLIST:@cwd ${PREFIX}
canna-server/PLIST:@cwd ${DICT_DIR}
canna-server/PLIST:@cwd ${DICT_DIR}
canna-server/PLIST:@cwd ${PREFIX}
freewnn-server/PLIST:@cwd ${DICT_DIR}
freewnn-server/PLIST:@cwd ${DICT_DIR}
freewnn-server/PLIST:@cwd ${PREFIX}
sj3-server/PLIST:@cwd ${DICT_DIR}
sj3-server/PLIST:@cwd ${DICT_DIR}
sj3-server/PLIST:@cwd ${PREFIX}
as they're the only packages in the whole of the packages collection
which use @cwd.
Regards,
Alistair