{"issue":{"milestone":null,"title":"Rakefile not honoring env variables","created_at":"2011-12-29T20:29:14Z","user":{"id":6961,"login":"stahnma","url":"https://api.github.com/users/stahnma","gravatar_id":"fa147ffde386565a674bc13453dc6f8d","avatar_url":"https://secure.gravatar.com/avatar/fa147ffde386565a674bc13453dc6f8d?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png"},"labels":[],"updated_at":"2011-12-30T10:52:02Z","state":"open","id":2682460,"html_url":"https://github.com/lutter/ruby-augeas/issues/2","closed_at":null,"pull_request":{"patch_url":null,"html_url":null,"diff_url":null},"body":"If you export CFLAGS and other env variables they are not passed via  calling \"rake build\" to the 'sh \"make\"' line.  This is problematic if you use libxml2 rather than libxml and want to add CLFAGS -I/usr/lib/libxml2.  I solved this by recompiling augeas with a patched augeas.pc file and editing CFLAGS there.  That seems like a bad solution to this problem. \r\n\r\nIt would be much nicer if ENV variables just were passed from Rake, to Make. \r\n\r\n","number":2,"url":"https://api.github.com/repos/lutter/ruby-augeas/issues/2","comments":2,"assignee":null},"comment":{"created_at":"2011-12-30T10:52:02Z","user":{"id":482089,"login":"domcleal","url":"https://api.github.com/users/domcleal","gravatar_id":"b610ed8556fcee2b7ab876c642a4ce42","avatar_url":"https://secure.gravatar.com/avatar/b610ed8556fcee2b7ab876c642a4ce42?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png"},"updated_at":"2011-12-30T10:52:02Z","id":3312365,"body":"Sorry, my mistake - we didn't include the dependency on libxml-2.0 in augeas.pc in 0.10.0.  The patch was applied in Fedora and Debian to the 0.10.0 tarball, so similar to what you did but using pkg-config's dependency resolution.\r\n\r\nUpstream commit: http://git.fedorahosted.org/git/?p=augeas.git;a=commitdiff;h=11b00ad\r\nFedora 16 src RPM: http://koji.fedoraproject.org/koji/rpminfo?rpmID=2818398","url":"https://api.github.com/repos/lutter/ruby-augeas/issues/comments/3312365"},"action":"created"}