Red Hat Bugzilla – Bug 20760
problem with makefiles causes incorrct build
Last modified: 2007-04-18 12:29:49 EDT
There seems to be a problem with
EXTRACFLAGS= -DDISABLE_POP_PROXY=1 -DIGNORE_LOCK_EACCES_ERRORS=1
do not propagate when doing a build.
Probably a keyword "export" must be added somewhere in make
so files like imap-2000/src/osdep/unix/Makefile
catch the value in the line
The problem is with imap.spec
1. patches imap-2000/Makefile
2. Sets the environment variable EXTRACFLAGS
which makes it ignoring the value set in Makefile for sub-makes.
The right solution is not to patch Makefile,
but put directly into imap.spec
This the options will be propagate across the Makefile(s).
Also, the same problem exists
with imap srom RedHat 7.0 updates.
One need to add EXTRACFLAGS to imap.spec
as I recommended in the previod message to compile it correctly.
Fixed in Rawhide a while back.. forgot to update the bug.. sorry..