Date: Tue, 23 Nov 2004 11:44:22 +0100 From: "A. Nooitgedagt" <a.nooit@12move.nl> To: <freebsd-ports@freebsd.org> Subject: RE: Pass variable to pkg-install Message-ID: <NCEAIDGINCIDIPEKFPHDOEIHDGAA.a.nooit@12move.nl> In-Reply-To: <200411230733.iAN7XKvn002229@8ball.rtp.freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
Actually, It does work to set variables in SCRIPTS_ENV ! I just shouldn't manipulate them in pkg-install I guess. I'm still not sure how it works. This is what I have as a test in Makefile: " pre-fetch: @ ${SETENV} PKG_PREFIX=${PREFIX} \ ${SCRIPTS_ENV} USER=${USER} PG_USER=${PG_USER} GROUP=${GROUP} UID=${UID} GID=${GID} \ ${SH} ${PKGINSTALL} ${PORTNAME} PRE-INSTALL " I didn't find good docs about how a statement like that gets translate or did I miss something. Any pointer? Do variable that are set like this in SCRIPTS_ENV remain available for "post-install" or for files in the "FILESDIR" ? Or how are variables passed around? Thanks. Aldert
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?NCEAIDGINCIDIPEKFPHDOEIHDGAA.a.nooit>