Re: [EXIM] Patch to make exim-2.00 compile under ULTRIX

Top Pagina
Delete this message
Reply to this message
Auteur: Harald Meland
Datum:  
Aan: exim-users
Onderwerp: Re: [EXIM] Patch to make exim-2.00 compile under ULTRIX
[Harald Meland]

> Thanks to Olav Kolbu, one of my co-workers, here is a patch for
> compiling exim-2.00 on ULTRIX (tested using gcc-2.8.1, I believe
> gcc-2.7.2 also works). The compilation is not without warnings, but
> at least it doesn't come up with any errors.
>
> diff -ur exim-2.00/Makefile exim-2.00-ULTRIX/Makefile
> --- exim-2.00/Makefile    Thu Jul  9 12:48:45 1998
> +++ exim-2.00-ULTRIX/Makefile    Wed Jul 15 18:11:00 1998
> @@ -8,7 +8,7 @@
>  # to csh, so put this in to make it use the Bourne shell. In systems where
>  # /bin/sh is not a Bourne-compatible shell, this line will have to be edited.

>
> -SHELL=/bin/sh
> +SHELL=`if [ "\`scripts/os-type\`" = "ULTRIX" ]; then echo /usr/bin/sh5; else echo /bin/sh; fi`


This is bogus (and was my mistake, not Olav's). It breaks when
$(SHELL) is referenced from the OS-specific build directory.

Solution: Ignore this part of the patch, and set SHELL explicitly in
the make call when building on ULTRIX (i.e. "make SHELL=sh5").
--
Harald

--
*** Exim information can be found at http://www.exim.org/ ***