For x11-libs/xpa-2.1.8, a QA notice is printed upon emerging:
* QA Notice: Files built without respecting LDFLAGS have been detected
* Please include the following list of files in your report:
Attached patch to ebuild fixes this by using sed to substitute the LDFLAGS environment variable into the link command.
Created attachment 174384 [details, diff]
patch to make build respect LDFLAGS
The sed command might be a bit over-zealous in substituting LDFLAGS into the mklib script, please adjust if necessary.
Fixed, thanks for the patch!
(In reply to comment #2)
> Fixed, thanks for the patch!
Just a heads-up, some of the other dependencies of sci-astronomy/ds9 also do not respect LDFLAGS (funtools is at least one where a similar sed line in the ebuild will fix it), will file some bugs.
Thanks and regards,