When invoking jam on amd64, it does not export $(OSPLAT) variable at all. Reproducible: Always Steps to Reproduce: 1. Invoke Jam on c/c++ code, whose Jamfile contains $(OSPLAT) e.g. DEFINES = a foo_$(OSPLAT) b ; Actual Results: C/C++ code will be compiled with -Da -Db, not with -Da -DAMD64 -Db Expected Results: OSPLAT should be defined to AMD64 or at least X86_64 Handbrake tool (http://handbrake.m0k.org/index.php) uses OSPLAT.
This has no maintainer.. I just asked for it didn't I ;p
Created attachment 62433 [details, diff] jam-2.5-amd64.patch This defines OSPLAT to AMD64 when Jam is compiled on AMD64. Ebuild for jam should contain the line: epatch "${FILESDIR}"/${P}-amd64.patch in src_unpack()
The patch is working - now OSPLAT is defined as AMD64 correctly.
Thanks for the path. Applied in portage, closing.