Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 31 Mar 2004 19:17:55 -0500
From:      Craig Rodrigues <rodrigc@crodrigues.org>
To:        freebsd-ports@freebsd.org
Subject:   Re: Need help debugging apr port
Message-ID:  <20040401001755.GA72519@crodrigues.org>
In-Reply-To: <20040329235811.GA17896@crodrigues.org>
References:  <20040329235811.GA17896@crodrigues.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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



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