What broke with libtool upgrade? (devel/apr-svn)

Ade Lovett ade at FreeBSD.org
Mon Feb 27 21:29:01 PST 2006


On Feb 27, 2006, at 20:50 , Ion-Mihai Tetcu wrote:
> Somewhere, somehow ./configure picks bash if in PATH and uses it as
> CONFIG_SHELL (I build the port by
> mv /usr/local/bin/bash /usr/local/bin/back.tmp; make); why does it  
> need
> to do this when CONFIG_SHELL=/bin/sh in CONFIGURE_ENV  I can't tell.

Ah hah!

Because the port Makefile target is using:

         cd ${WRKDIR}/apr-${PORTVERSION}; \
                 ${SETENV} ${SCRIPTS_ENV} ${SH} ./configure $ 
{CONFIGURE_ARGS}
         cd ${WRKDIR}/apr-util-${PORTVERSION}; \
                 ${SETENV} ${SCRIPTS_ENV} ${SH} \
                 ./configure ${CONFIGURE_ARGS} ${APR_UTIL_CONF_ARGS}

Those two references to ${SCRIPTS_ENV} should be ${CONFIGURE_ENV}.

However, given that things have worked in the past, this would  
suggest that there is something of a flaw in the current bash port.

Good catch.

-aDe



More information about the freebsd-ports mailing list