builds with certain options

Joe Marcus Clarke marcus at marcuscom.com
Sat Jul 23 00:47:32 EDT 2005


> Hi guys,
> 
> What I want to do is certainly possible, but I can't figure out how to.
> 
> I'd like to have different builds for say, my 4-STABLE jail where I have base
> perl, perl 5.6 or perl 5.8, and I can't figure out how to do that.

I was going through the archives, and I saw this never received a reply.
I must have missed it myself.

In any event, if you're still looking, you can export per-Jail,
per-PortsTree, and per-Build variables into the environment by creating
jail.env, portstree.env, and build.env files respectively in their
various root directories.  For example, to set options for a build
called 4-STABLE-Perl5.8, you can create a build.env in
${pb}/builds/4-STABLE-Perl5.8:

export PERL_VER=5.8.7
export PERL_VERSION=5.8.7

FYI, this is also a great way for enabling debugging on a per-PortsTree
basis.  You can create a portstree.env in your
${pb}/portstrees/FreeBSD-debug (if such a tree existed) with:

export CFLAGS="-O -g -pipe"
export STRIP=

Hope this helps.

Joe

-- 
PGP Key : http://www.marcuscom.com/pgp.asc
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: This is a digitally signed message part
Url : http://www.marcuscom.com/pipermail/tinderbox-list/attachments/20050723/0fde28b9/attachment.bin


More information about the tinderbox-list mailing list