Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 281155 - net-misc/curl installs ABI specific curlbuild.h
Summary: net-misc/curl installs ABI specific curlbuild.h
Status: RESOLVED LATER
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-08-11 22:52 UTC by ferret
Modified: 2009-08-11 23:02 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 ferret 2009-08-11 22:52:31 UTC
/usr/include/curl/curlbuild.h contains ABI-specific lines like:
#define CURL_SIZEOF_LONG 8

Meaning that building curl with say a 64-bit compiler, then cross-compiling or multilib-ing with -m32 will fail.

It is easily fixed by adding this line to the bottom of the src_install function:

prep_ml_includes /usr/include/curl

'inherit multilib' is already present for some reason.
Comment 1 ferret 2009-08-11 23:02:14 UTC
I should mention; currently of course on, say, amd64 'emerge curl' only installs 32-bit curl, but in the future there will be sensible multilib!

I'm closing this bug to RESOLVED->LATER, as it won't make a difference to portage at this time.