On Wed, 25 Nov 1998, Gyan Mathur wrote:
> FreeBSD, copied the entire contents of exim-2.05/Local into
> exim-2.054/Local, did "make makefile", which worked all right, then
> "make", and got:
> "Makefile", line 37: Malformed conditional (${PORTOBJFORMAT} == "elf")
On Thu, 26 Nov 1998, Sheldon Hearn wrote:
> Ah. Then we have a problem. You're trying to build it on a FreeBSD box
> without using the FreeBSD ports system, but Philip has constructed the
> FreeBSD-specific Makefiles in such a way that they work within that
> system only. This may have been on my request.
It was indeed on your request. I don't at the moment have access to a
FreeBSD system (though I should have in due course - someone who is
installing a FreeBSD system has promised me an account). Therefore I am
reliant on advice from FreeBSD users on this list.
> Regardless, it's probably a logical flaw. Just add to the top of the
> Makefile, the appropriate
>
> PORTOBJFORMAT={aout|elf}
>
> depending on whether you're running an AOUT or ELF system.
I presume that simply removing the lines
.if ${PORTOBJFORMAT} == "elf"
XLFLAGS+=-Wl,-rpath,${X11BASE}/lib
.endif
and setting XLFLAGS appropriately by hand would also be a valid workaround?
> I'll submit something more robust to Philip to handle PORTOBJFORMAT for
> non-FreeBSD-ports build environments.
Please do. I would like it all to be as robust and portable as possible
before the proper release.
--
Philip Hazel University of Cambridge Computing Service,
ph10@??? Cambridge, England. Phone: +44 1223 334714.
--
*** Exim information can be found at
http://www.exim.org/ ***