From owner-freebsd-ports@FreeBSD.ORG Mon May 9 03:45:56 2005 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 21FDC16A4E6 for ; Mon, 9 May 2005 03:45:56 +0000 (GMT) Received: from mortis.over-yonder.net (adsl-222-87-60.jan.bellsouth.net [68.222.87.60]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9A23243D82 for ; Mon, 9 May 2005 03:45:55 +0000 (GMT) (envelope-from fullermd@over-yonder.net) Received: by mortis.over-yonder.net (Postfix, from userid 100) id 786AC20FB5; Sun, 8 May 2005 22:45:54 -0500 (CDT) Date: Sun, 8 May 2005 22:45:54 -0500 From: "Matthew D. Fuller" To: DaJoob Message-ID: <20050509034553.GP74766@over-yonder.net> References: <427EC50D.2060200@dajoob.com> <20050509025351.GO74766@over-yonder.net> <427EDA10.2080208@dajoob.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <427EDA10.2080208@dajoob.com> X-Editor: vi X-OS: FreeBSD User-Agent: Mutt/1.5.9i-fullermd.2 cc: freebsd-ports@freebsd.org Subject: Re: aclocal problem X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 09 May 2005 03:45:56 -0000 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.