make release cross-platform: Malformed conditional
(${MK_SENDMAIL} != "no")
Ruslan Ermilov
ru at freebsd.org
Sun Sep 10 01:24:59 PDT 2006
On Sat, Sep 09, 2006 at 04:06:43PM +0200, Angelo Turetta wrote:
> I'm trying to build a -CURRENT install cdrom, using the following command:
>
> make release CHROOTDIR=/usr/current \
> EXTPORTSDIR=/usr/ports \
> CVSROOT="/home/ncvs" NO_FLOPPIES=YES \
> NODOC=YES NOPORTS=YES MAKE_ISOS=YES \
> KERNELS_BASE=GENERIC TARGET_ARCH=amd64 \
> BUILDNAME=7.0-20060909-SNAP
>
>
> from a XEON server running 6.1-STABLE FreeBSD Thu Sep 7 13:42:16 CEST 2006
>
> First question (reality check): is it possible to build 7-CURRENT(amd64)
> on 6-STABLE(i386)?
>
Should be.
> If yes, do you know what may be the cause of the error I get after the
> 'build world' phase? (please see attachment for make output)
> cd /usr/src/release/../etc && make distrib-dirs
> DESTDIR=/R/stage/trees/base
> "Makefile", line 6: Malformed conditional (${MK_SENDMAIL} != "no")
> "Makefile", line 8: if-less endif
>
>
A bug in release/Makefile? Try changing this line:
cd ${.CURDIR}/../etc && make distrib-dirs DESTDIR=${RD}/trees/base
to:
cd ${.CURDIR}/.. && ${CROSSMAKE} distrib-dirs DESTDIR=${RD}/trees/base
Cheers,
--
Ruslan Ermilov
ru at FreeBSD.org
FreeBSD committer
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-current/attachments/20060910/72c97d7b/attachment.pgp
More information about the freebsd-current
mailing list