Skip site navigation (1)Skip section navigation (2)
Date:      23 May 2002 05:05:25 +0200
From:      Dag-Erling Smorgrav <des@ofug.org>
To:        "J. Mallett" <jmallett@FreeBSD.org>
Cc:        cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   Re: cvs commit: src/usr.bin/make main.c
Message-ID:  <xzp3cwjd0ne.fsf@flood.ping.uio.no>
In-Reply-To: <200205212024.g4LKOlx48232@freefall.freebsd.org>
References:  <200205212024.g4LKOlx48232@freefall.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
"J. Mallett" <jmallett@FreeBSD.org> writes:
>   Log:
>   Make ReadMakefile() operate using the realpath(3) name for the file handed to
>   it, which means that relative paths will be expanded to absolute paths, and
>   filenames without a path will end up with their absolute path included as
>   well.  This aids tremendously in debugging a build using our make(1) with
>   multiple Makefile's, such as when there is a syntax error in a file in a
>   sub-directory as per <bsd.subdir.mk>.  Normally we'd end up with just
>   "Makefile" known about the Makefile in question, which means that an error
>   would be useless for someone trying to debug their build system, now we
>   end up with a complete real pathname for the Makefile.

This commit breaks port builds - or at least mail/postfix:

des@dsa /usr/ports/mail/postfix% make
===>  Building for postfix-1.1.10,1
/usr/ports/mail/postfix/work/postfix-1.1.10/scripts/configure.postfix: Can't open /usr/ports/mail/postfix/work/postfix-1.1.10/scripts/configure.postfix: No such file or directory
*** Error code 2

Stop in /usr/ports/mail/postfix/work/postfix-1.1.10.
*** Error code 1

Stop in /usr/ports/mail/postfix.
*** Error code 1

Stop in /usr/ports/mail/postfix.

DES
-- 
Dag-Erling Smorgrav - des@ofug.org

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?xzp3cwjd0ne.fsf>