Re: jam instead of make

Tobias Nygren <[email protected]>
Newsgroups gmane.os.netbsd.devel.pkgsrc.wip.general
Message-ID <[email protected]>
On Thu, 7 Jan 2010 09:54:19 -0600
"Larson, Timothy E." <[email protected]> wrote:

> How can I tell the build stage to use jam instead of [g]make?  Is the correct approach to write a do-build target, or is there some special variable that I set?

There is no infrastructure support in place, so you'll need to build
depend on jam and write your own build target.
This should do the trick:

do-build:
	cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} jam

You could create a wip/mk/jam.mk that defines common do-{build,install}
rules if ${USE_JAM} is set to "yes".

-Tobias

------------------------------------------------------------------------------
This SF.Net email is sponsored by the Verizon Developer Community
Take advantage of Verizon's best-in-class app development support
A streamlined, 14 day to market process makes app distribution fast and easy
Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.