usr.bin/dsynth/pkglist.c
/*
 * Try to optimize the environment by supplying information that
 * the ports system would generally have to run stuff to get on
 * every package.
 *
 * See childOptimizeEnv() for the actual handling.  We execute
 * a single make -V... -V... for ports-mgmt/pkg from within the
 * bulk system (which handles the environment and disables
 * /etc/make.conf), and we then call addbuildenv() as appropriate.
 *
 * _PERL5_FROM_BIN
 * add others...
 */
Try to optimize the environment by supplying information that
the ports system would generally have to run stuff to get on
every package.

See childOptimizeEnv() for the actual handling.  We execute
a single make -V... -V... for ports-mgmt/pkg from within the
bulk system (which handles the environment and disables
/etc/make.conf), and we then call addbuildenv() as appropriate.


Try to optimize the environment by supplying information that the ports system would generally have to run stuff to get on every package . See childOptimizeEnv () for the actual handling . We execute a single make - V ... - V ... for ports - mgmt / pkg from within the bulk system ( which handles the environment and disables / etc / make . conf ) and we then call addbuildenv () as appropriate .
void
OptimizeEnv(void)
{
	bulk_t *bulk;
	initbulk(childOptimizeEnv, MaxBulk);
	queuebulk("ports-mgmt", "pkg", NULL, NULL);
	bulk = getbulk();
	freebulk(bulk);
	donebulk();
}
void OptimizeEnv ( void ) { bulk_t * bulk ; initbulk ( childOptimizeEnv , MaxBulk ) ; queuebulk ( " " , " " , NULL , NULL ) ; bulk = getbulk ( ) ; freebulk ( bulk ) ; donebulk ( ) ; }
Try to optimize the environment by supplying information that
 the ports system would generally have to run stuff to get on
 every package.
Try to optimize the environment by supplying information that the ports system would generally have to run stuff to get on every package .