Re: FW: best way to patch

Marc MERLIN <[email protected]>
Newsgroups gmane.mail.exim.spamassassin
Message-ID <[email protected]>
On Fri, May 16, 2003 at 11:27:04PM +0200, Tony Earnshaw wrote:
> The whole SA-Exim thing presupposes you have a common install directory
> with exim-4.14, sa-exim-3.0 and exim-4.20 next to each other.
 
Not anymore actually.
sa-exim-3.0 will build without exim, it includes the exim headers it needs

That's why I updated the dlopen patch to have an API version number
 
> The sa-exim-3.0 Makefile has a mistake in line 22: "EXIM_SRC=
> ../exim-4.14/src". If you never installed or patched exim-4.14 and only
> began with 4.20, this will give a compile error - since it's pointing at
> a directory that doesn't exist and was never patched.

Not quite.
See http://marc.merlins.org/linux/exim/files/sa-exim-current/Makefile

EXIM_SRC= ../../src
EXIM_SRC_LOCAL = ./eximinc
BUILDCFLAGS=-I$(EXIM_SRC) -I$(EXIM_SRC_LOCAL)

It allows you to provide your own exim headers by doing the right thing,
or sa-exim 3.0 will fall back to its own exim 4.14 headers.

> Find "LOOKUP_LIBS". add -ldl to the end of that line. If it's commented
> out in the first place, uncomment it. Actually, it implies '-L/usr/lib
> -ldl', but you shouldn't need the /usr/lib bit, since make will always
> look in /usr/lib for libs.
 
Right. That's missing from the patch, I'll need to fix that.

Marc
-- 
"A mouse is a device used to point at the xterm you want to type in" - A.S.R.
Microsoft is to operating systems & security ....
                                      .... what McDonalds is to gourmet cooking
Home page: http://marc.merlins.org/   |   Finger [email protected] for PGP key
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.