Pointy hat to: {ade,portsmgr}@freebsd.org
git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@1229
d4fa192b-c00b-0410-8231-
f00ffab90ce4
if [ -d /usr/local/gnu-autotools/bin ] ; then
PATH=/usr/local/gnu-autotools/bin:${PATH}
export PATH
+ FIX_BROKEN_FREEBSD_PORTS="-I /usr/local/share/aclocal"
fi
automake_version=$(automake --version | tr ' ' '\n' | egrep '^[0-9]\.[0-9a-z.-]+')
set -ex
-if [ "x`uname -s`" = "xFreeBSD" ] ; then
- # Ask DES
- aclocal -I /usr/local/share/aclocal
-else
- aclocal
-fi
+aclocal ${FIX_BROKEN_FREEBSD_PORTS}
libtoolize --copy --force
autoheader
automake --add-missing --copy --foreign