Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 194578 - dev-libs/xerces-c-2.7.0-r1 - add freebsd support
Summary: dev-libs/xerces-c-2.7.0-r1 - add freebsd support
Status: RESOLVED FIXED
Alias: None
Product: Gentoo/Alt
Classification: Unclassified
Component: FreeBSD (show other bugs)
Hardware: x86 FreeBSD
: High enhancement (vote)
Assignee: Gentoo/BSD Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-10-03 07:31 UTC by Andreas Nilsson
Modified: 2007-10-03 10:59 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Andreas Nilsson 2007-10-03 07:31:54 UTC
xerces-c-2.7.0-r1 is not possible to emerge on Gentoo/FreeBSD due to hardcoded platform in ebuild.

src_compile() {
        export XERCESCROOT="${S}"
        cd src/xercesc
        ./runConfigure -plinux -P/usr ${EXTRA_ECONF}
        emake -j1 || die "emake failed"
}

should be
src_compile() {
        export XERCESCROOT="${S}"
        cd src/xercesc
        ./runConfigure -p${correct_platform} -P/usr ${EXTRA_ECONF}
        emake -j1 || die "emake failed"
}


Reproducible: Always

Steps to Reproduce:
1. Emerge xerces-c on any non-linux platform.
2.
3.

Actual Results:  
emake crashes due to incorrect platform setting

Expected Results:  
Correct emerge of xerces-c
Comment 1 Roy Marples (RETIRED) gentoo-dev 2007-10-03 10:59:33 UTC
Fixed, thanks