Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 185252

Summary: dev-libs/expat-2.0.0 needs epunt_cxx
Product: Gentoo Linux Reporter: Laurence Withers <l>
Component: New packagesAssignee: Freedesktop bugs <freedesktop-bugs>
Status: RESOLVED FIXED    
Severity: enhancement    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

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.