- Subject: Re: @cwd is ignored by lstat(2) in pkg_create(8)
- From: Alistair Crooks <agc@pkgsrc.org>
- To: Masao Uebayashi <uebayasi@soum.co.jp>
- Date: Sat, 12 Jan 2002 20:44:05 +0100
- Message-ID: <20020112204405.B588@smaug.fh-regensburg.de>
- In-Reply-To: <20020113.034626.125119685.uebayasi@soum.co.jp>; from uebayasi@soum.co.jp on Sun, Jan 13, 2002 at 03:46:26AM +0900
- References: <20020113.034626.125119685.uebayasi@soum.co.jp>
- Cc: tech-pkg@netbsd.org
- Delivered-To: tech-pkg@netbsd.org
- User-Agent: Mutt/1.2.5i
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