Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 97416 - Jam does not define OSPLAT on amd64
Summary: Jam does not define OSPLAT on amd64
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: AMD64 Linux
: High normal
Assignee: Chris White (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-06-29 13:03 UTC by Kamil Burzynski
Modified: 2005-07-01 17:27 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
jam-2.5-amd64.patch (jam-2.5-amd64.patch,334 bytes, patch)
2005-07-01 14:55 UTC, Krzysztof Pawlik (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Kamil Burzynski 2005-06-29 13:03:35 UTC
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.
Comment 1 Chris White (RETIRED) gentoo-dev 2005-06-29 13:07:48 UTC
This has no maintainer.. I just asked for it didn't I ;p 
Comment 2 Krzysztof Pawlik (RETIRED) gentoo-dev 2005-07-01 14:55:35 UTC
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()
Comment 3 Kamil Burzynski 2005-07-01 15:05:04 UTC
The patch is working - now OSPLAT is defined as AMD64 correctly.
Comment 4 Chris White (RETIRED) gentoo-dev 2005-07-01 17:27:30 UTC
Thanks for the path.  Applied in portage, closing.