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

Bug 126826

Summary: app-arch/bzip2: patch to respect LDFLAGS
Product: Gentoo Linux Reporter: Diego Elio Pettenò (RETIRED) <flameeyes>
Component: New packagesAssignee: Gentoo's Team for Core System packages <base-system>
Status: RESOLVED FIXED    
Severity: minor    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 331933    
Attachments: bzip2-1.0.3-respectflags.patch

Description Diego Elio Pettenò (RETIRED) gentoo-dev 2006-03-19 09:23:54 UTC
The attached patch applied over bzip2 sources make it respect LDFLAGS settings by the user for bzip2 binary and libbz2.so.
In addition, LDFLAGS="${LDFLAGS}" should be added to the second emake (the one after "use static &&") so that bzip2recover also respects them (by default Makefile sets LDFLAGS=).

HTH,
Diego
Comment 1 Diego Elio Pettenò (RETIRED) gentoo-dev 2006-03-19 09:24:48 UTC
Created attachment 82573 [details, diff]
bzip2-1.0.3-respectflags.patch
Comment 2 SpanKY gentoo-dev 2006-03-19 19:25:09 UTC
in cvs
Comment 3 Diego Elio Pettenò (RETIRED) gentoo-dev 2006-03-20 05:32:46 UTC
You forgot to change the second emake line... I've taken care.