I have made the following change to the "courier.spec" file in order to
speed up the "rpmbuild". It tells "configure" to use a cache file, and
it deletes the previous cache file before each build.
On my machine, this patch speeds up the "configure" steps of the build
by a factor of 2.0-2.5.
This cache file name is passed from the command line of the topmost
"configure" run to the invocations of "configure" for each subsidiary
module. Because it's important that all of these subsidiary "configure"
runs use the same cache file, I specify it under an explicit directory
like $HOME instead of using a relative path name. This can be changed
to a different directory, as long as it's not a relative path name.
Actually, a patch like this should probably also be applied to
courier.spec.in. I haven't tried that, however.
A corresponding patch will also be helpful in the authlib build.
*** courier.spec.orig Sat Jun 25 23:41:02 2005
--- courier.spec Sun Jun 26 07:42:17 2005
***************
*** 294,299 ****
%define xflags --enable-unicode=iso-8859-1,utf-8
%endif
!
! %configure %{?xflags: %{xflags}}
%{__cat} >README.REDHAT <<EOF
--- 294,300 ----
%define xflags --enable-unicode=iso-8859-1,utf-8
%endif
! %define _cache $HOME/.courier-configure-cache
! %{__rm} -f %{_cache}
! %configure %{?xflags: %{xflags}} --cache-file=%{_cache}
%{__cat} >README.REDHAT <<EOF
--
Lloyd Zusman
[EMAIL PROTECTED]
God bless you.
-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
_______________________________________________
courier-users mailing list
[email protected]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users