Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 335405 - Get LDFLAGS from environment in apxs
Summary: Get LDFLAGS from environment in apxs
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal
Assignee: Apache Team - Bugzilla Reports
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 331805 331885 332239
  Show dependency tree
 
Reported: 2010-08-31 13:32 UTC by Krzysztof Pawlik (RETIRED)
Modified: 2011-02-25 20:15 UTC (History)
2 users (show)

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


Attachments
httpd-2.2.16-apxs-ldflags.patch (httpd-2.2.16-apxs-ldflags.patch,459 bytes, patch)
2010-08-31 13:32 UTC, Krzysztof Pawlik (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Krzysztof Pawlik (RETIRED) gentoo-dev 2010-08-31 13:32:27 UTC
A lot of Apache modules will ignore LDFLAGS during src_compile - this can be solved in two ways: patch the apache-module.eclass or patch apxs itself.

So far there are three bugs about such modules, more are known to fail (mod_caucho for example) but no bugs exist for them yet.

I'm attaching a small patch against apxs that makes it aware of LDFLAGS environment variable which solves the above issue for all modules at once. It also has the added benefit of working properly for ebuilds not using apache-module.eclass or direct builds by users.

The point of this bug is to get a short discussion going on and get the patch in next patches tarball release (2.2.16-r1?).
Benedikt: what's your opinion on this?
Comment 1 Krzysztof Pawlik (RETIRED) gentoo-dev 2010-08-31 13:32:56 UTC
Created attachment 245480 [details, diff]
httpd-2.2.16-apxs-ldflags.patch
Comment 2 Krzysztof Pawlik (RETIRED) gentoo-dev 2010-09-01 08:10:51 UTC
After discussing this with Benedikt I've committed this patch as 10_all_apxs_ldflags.patch to Apache patches repository. This will be released when new patches tarball will be created and Apache bumped to use it.
Comment 3 Krzysztof Pawlik (RETIRED) gentoo-dev 2011-02-25 20:15:04 UTC
This patch is in 2.2.17.