Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 239901 - app-admin/mcelog-0.7: CFLAGS are ignored
Summary: app-admin/mcelog-0.7: CFLAGS are ignored
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: AMD64 Project
URL:
Whiteboard:
Keywords: Inclusion
Depends on:
Blocks:
 
Reported: 2008-10-05 10:53 UTC by Diego Elio Pettenò (RETIRED)
Modified: 2008-10-14 00:54 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Diego Elio Pettenò (RETIRED) gentoo-dev 2008-10-05 10:53:30 UTC
I don't know the build system for this program (and this is a generic bug template so I cannot tell you which program exactly is), but my tests shows that it's not respecting CFLAGS properly.

Please look into it, since it's important to respect user CFLAGS.

Thanks,
Diego
Comment 1 Chad A. Simmons 2008-10-07 14:00:47 UTC
I was going to post a patch but this is very simple. Simply add the following section to the ebuild.

src_unpack() {
        unpack ${A}
        cd "${S}"
        sed -i -e 's:-g:${CFLAGS}:g' Makefile || die "sed makefile failed"
}

Verfied this works
Comment 2 Jeremy Olexa (darkside) (RETIRED) archtester gentoo-dev Security 2008-10-14 00:54:06 UTC
Thanks Chad, done.