autoconf problem (with fix)

Luigi Rizzo rizzo at icir.org
Fri Nov 9 04:18:16 PST 2007


while trying to build openwrt on FreeBSD i hit a problem while
running autoconf, which turns out is due to
/usr/ports/devel/autoconf-wrapper/files/autotools-wrapper.sh

This wrapper uses "sed" (and "find") with no pathname, and
in building openwrt the path contains the GNU tools first,
and the wrapper fails on the '-E' option which is not available
on gnu-sed

I think an easy fix is to replace, in the wrapper,
sed and find with /usr/bin/sed and /usr/bin/find 
so that we have no surprises here, not just with openwrt
but also with other packages which use autoconf on a non-standard
environment.

Objections ?

	cheers
	luigi
-----------------------------------+-------------------------------------
  Luigi RIZZO, rizzo at iet.unipi.it  . Dip. di Ing. dell'Informazione
  http://www.iet.unipi.it/~luigi/  . Universita` di Pisa
  TEL/FAX: +39-050-2217.533/600    . via Diotisalvi 2, 56122 PISA (Italy)
  Mobile   +39-347-0373137
-----------------------------------+-------------------------------------


More information about the freebsd-ports mailing list