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

Bug 529645

Summary: app-text/poppler - respect CFLAGS previously set via CMAKE_C_FLAGS/environment
Product: Gentoo Linux Reporter: Matthias Maier <tamiko>
Component: Current packagesAssignee: Maciej Mrozowski <reavertm>
Status: RESOLVED FIXED    
Severity: normal CC: kde, printing, tommy
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: Cleanup CFLAGS/CXXFLAGS/LDFLAGS handling

Description Matthias Maier gentoo-dev 2014-11-17 22:32:05 UTC
Created attachment 389601 [details, diff]
Cleanup CFLAGS/CXXFLAGS/LDFLAGS handling

poppler goes into great length in specifying custom CFLAGS/CXXFLAGS and unfortunately forgets to take over previous contents of ${CMAKE_CFLAGS} which results in build failures on multilib-portage with ABI=x86.

Attached patch takes care of this (as well as some cleanup).
Comment 1 Matthias Maier gentoo-dev 2014-12-03 20:58:09 UTC
  03 Dec 2014; Matthias Maier <tamiko@gentoo.org>
  +files/poppler-0.28.1-respect-cflags.patch, poppler-0.28.1.ebuild,
  poppler-9999.ebuild:
  respect cflags, bug #529645; fix live ebuild