Date: Sun, 8 May 2005 22:45:54 -0500 From: "Matthew D. Fuller" <fullermd@over-yonder.net> To: DaJoob <DaJoob@dajoob.com> Cc: freebsd-ports@freebsd.org Subject: Re: aclocal problem Message-ID: <20050509034553.GP74766@over-yonder.net> In-Reply-To: <427EDA10.2080208@dajoob.com> References: <427EC50D.2060200@dajoob.com> <20050509025351.GO74766@over-yonder.net> <427EDA10.2080208@dajoob.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, May 08, 2005 at 10:33:36PM -0500 I heard the voice of DaJoob, and lo! it spake thus: > > pre-configure: > cd ${WRKSRC} > aclocal${USE_AUTOMAKE_VER} The problem here is that make spawn external shell commands for these, one per line. So, it spawns off one shell which runs "cd ${WRKSRC}", which works, but then that shell exits, so the second command runs in another shell invocation in the current directory. You need to put them together in a single invocation like: pre-configure: (cd ${WRKSRC} && aclocal${USE_AUTOMAKE_VER}) That way they both run sequentially in a single shell, and the aclocal runs in the right dir. -- Matthew Fuller (MF4839) | fullermd@over-yonder.net Systems/Network Administrator | http://www.over-yonder.net/~fullermd/ On the Internet, nobody can hear you scream.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050509034553.GP74766>