Subject: Re: setting shell environment variables for installation?
To: Georg Schwarz <georg.schwarz@freenet.de>
From: Hubert Feyrer <feyrer@cs.stevens.edu>
List: tech-pkg
Date: 12/26/2005 17:38:48
On Mon, 26 Dec 2005, Georg Schwarz wrote:
> Is there an equivalent to CONFIGURE_ENV and MAKE_ENV for the install
> stage?

From pkgsrc/mk/bsd.pkg.mk:

.if !target(do-install)
 	do-install:
 	.  for _dir_ in ${INSTALL_DIRS}
 	        ${_PKG_SILENT}${_PKG_DEBUG}${_ULIMIT_CMD}                       \
 	        cd ${WRKSRC}; cd ${_dir_};                                      \
===>	        ${SETENV} ${MAKE_ENV} ${MAKE_PROGRAM} ${INSTALL_MAKE_FLAGS}     \
 	                -f ${MAKEFILE} ${INSTALL_TARGET}
 	.  endfor
 	.endif

I.e. try MAKE_ENV.


  - Hubert