[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Fw: @cwd is ignored by lstat(2) in pkg_create(8)



Pkgsrc の方針としては @cwd は使わないようにしようということです。

上林


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