Summary: | net-p2p/amule-2.2.0_pre20080204 doesn't build with USE="geoip" and LDFLAG --as-needed | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | .:deadhead:. <andreamtp+bz> |
Component: | Current packages | Assignee: | Gentoo net-p2p team <net-p2p> |
Status: | RESOLVED FIXED | ||
Severity: | normal | ||
Priority: | High | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 129413 | ||
Attachments: |
emerge log when --as-needed used
2.2.0-as_needed.patch amule-2.2.0_pre20080204.ebuild.patch |
Description
.:deadhead:.
2008-02-09 23:05:51 UTC
Created attachment 143062 [details]
emerge log when --as-needed used
Th amule makefile pass the -lGeoIP option as an LDFLAG rather than a LIB (ldflags goes before object files, libs afterward). The fix here is to move -lGeoIP together with the rest of libs. Created attachment 143750 [details, diff]
2.2.0-as_needed.patch
The patch for configure.in
Created attachment 143753 [details, diff]
amule-2.2.0_pre20080204.ebuild.patch
... and the ebuild patch.
Tried new ebuild + patch and worked like a charm! Thank you Flame & Dev-Zero! Added in the 20080218 snapshot and opened a bug upstream, number 1266 |