Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 185252 - dev-libs/expat-2.0.0 needs epunt_cxx
Summary: dev-libs/expat-2.0.0 needs epunt_cxx
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Freedesktop bugs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-07-13 23:36 UTC by Laurence Withers
Modified: 2009-03-08 20:36 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 Laurence Withers 2007-07-13 23:36:24 UTC
dev-libs/expat-2.0.0 does not compile if there is no C++ compiler on the system. I got around this by adding an epunt_cxx to the ebuild's src_unpack():

src_unpack() {
        unpack ${A}
        cd "${S}"
        epatch ${FILESDIR}/${P}-test-64bit.patch
        epatch ${FILESDIR}/${P}-test-cpp.patch
        elibtoolize
        epunt_cxx
}
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2007-07-13 23:43:04 UTC
[-    ] nocxx - Disable support for C++ (DON'T USE THIS UNLESS YOU KNOW WHAT YOU'RE DOING) 

Anything that should be clarified there?
Comment 2 Laurence Withers 2007-07-14 00:04:13 UTC
Nope, nothing needs to be clarified. I assume that the epunt_cxx function exists for exactly this purpose, and that it's helpful to report those cases where it is needed so that others can benefit. Apologies if not.
Comment 3 Gilles Dartiguelongue (RETIRED) gentoo-dev 2009-03-08 20:36:32 UTC
doesn't sound like a crazy request so I added that to 2.0.1-r1 without a bump. Thanks for the report.