From owner-freebsd-ports@FreeBSD.ORG Wed Mar 31 16:17:49 2004 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 BF3FF16A4CE for ; Wed, 31 Mar 2004 16:17:49 -0800 (PST) Received: from rwcrmhc12.comcast.net (rwcrmhc12.comcast.net [216.148.227.85]) by mx1.FreeBSD.org (Postfix) with ESMTP id AE51943D3F for ; Wed, 31 Mar 2004 16:17:49 -0800 (PST) (envelope-from rodrigc@h00609772adf0.ne.client2.attbi.com) Received: from dibbler.crodrigues.org (h00609772adf0.ne.client2.attbi.com[66.31.45.197]) by comcast.net (rwcrmhc12) with ESMTP id <20040401001749014007cc4ve>; Thu, 1 Apr 2004 00:17:49 +0000 Received: from dibbler.crodrigues.org (localhost.crodrigues.org [127.0.0.1]) i310I16n072684 for ; Wed, 31 Mar 2004 19:18:01 -0500 (EST) (envelope-from rodrigc@h00609772adf0.ne.client2.attbi.com) Received: (from rodrigc@localhost) by dibbler.crodrigues.org (8.12.11/8.12.11/Submit) id i310I1B4072683 for freebsd-ports@freebsd.org; Wed, 31 Mar 2004 19:18:01 -0500 (EST) (envelope-from rodrigc) Date: Wed, 31 Mar 2004 19:17:55 -0500 From: Craig Rodrigues To: freebsd-ports@freebsd.org Message-ID: <20040401001755.GA72519@crodrigues.org> References: <20040329235811.GA17896@crodrigues.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20040329235811.GA17896@crodrigues.org> User-Agent: Mutt/1.4.1i Subject: Re: Need help debugging apr port 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: Thu, 01 Apr 2004 00:17:49 -0000 Hi, I am looking more into the apr port. During the building of the port, the following command is run: ================================================================================ cd /usr/ports/devel/apr/work/apr-0.9.4; /usr/bin/env PORTOBJFORMAT=elf PATH=/usr/local/libexec/libtool15:/sbin:/bin:/usr/sbin:/usr/bin:/usr/games:/usr/local/sbin:/usr/local/bin:/usr/X11R6/bin:/root/bin BSD_INSTALL_PROGRAM="install -s -o root -g wheel -m 555" BSD_INSTALL_SCRIPT="install -o root -g wheel -m 555" BSD_INSTALL_DATA="install -o root -g wheel -m 444" BSD_INSTALL_MAN="install -o root -g wheel -m 444" CURDIR=/usr/ports/devel/apr DISTDIR=/usr/ports/distfiles WRKDIR=/usr/ports/devel/apr/work WRKSRC=/usr/ports/devel/apr/work PATCHDIR=/usr/ports/devel/apr/files SCRIPTDIR=/usr/ports/devel/apr/scripts FILESDIR=/usr/ports/devel/apr/files PORTSDIR=/usr/ports DEPENDS="" PREFIX=/usr/local LOCALBASE=/usr/local X11BASE=/usr/X11R6 ./buildconf ================================================================================ This command is kicked off by this rule in the apr port's Makefile: pre-configure: cd ${WRKDIR}/apr-${PORTVERSION}; ${SETENV} ${SCRIPTS_ENV} ./buildconf cd ${WRKDIR}/apr-util-${PORTVERSION} ; \ ${RM} -fr xml/expat cd ${WRKDIR}/apr-util-${PORTVERSION} ; \ ${SH} ./buildconf \ --with-apr=../apr-${PORTVERSION} I need to export the AUTOCONF variable in addition to all the other variables (X11BASE, etc.) Would it be appropriate for me to do something like this: pre-configure: cd ${WRKDIR}/apr-${PORTVERSION}; ${SETENV} ${SCRIPTS_ENV} \ ${AUTOCONF_ENV} ${AUTOCONF} ${AUTOCONF_ARGS} ./buildconf ..... Or is there another variable I should be using? Thanks. -- Craig Rodrigues http://crodrigues.org rodrigc@crodrigues.org