Date: Wed, 21 Dec 2011 21:36:16 -0800 From: Kevin Oberman <kob6558@gmail.com> To: perryh@pluto.rain.com Cc: mm@freebsd.org, freebsd-ports@freebsd.org, leslie@eskk.nu Subject: Re: Stop in /usr/ports/multimedia/x264 Message-ID: <CAN6yY1uZgu1e1m8r8syG8Va6-by0CNRLP0Wy7L%2BGJxyKvx_WyA@mail.gmail.com> In-Reply-To: <4ef30e7b.gG6UGw%2BkkNWpdv07%perryh@pluto.rain.com> References: <4EF1E3EF.9000405@eskk.nu> <CAN6yY1tOrhyng1o5%2Bo5ko3cEoT2MLqCUF=L47Gesv%2BNnDdrhFw@mail.gmail.com> <4ef30e7b.gG6UGw%2BkkNWpdv07%perryh@pluto.rain.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, Dec 22, 2011 at 3:03 AM, <perryh@pluto.rain.com> wrote: > Kevin Oberman <kob6558@gmail.com> wrote: > >> I see the following errors during the configure stage: >> =3D=3D=3D> =A0Configuring for x264-0.119.2113 >> [[: not found > > That sure looks as if the configure script needs to be run with bash. > > files/patch-configure does this: > > =A0-#!/bin/bash > =A0+#!/bin/sh > > which presumes that the script does not actually need bash extensions. > However, since it does seem to need those extensions, that part of the > patch should be > > =A0-#!/bin/bash > =A0+#!/usr/local/bin/bash > > and bash needs to be added as a build dependency. =A0(Alternatively, the > configure script could be patched to not use the [[ bash builtin.) > > Maintainer already in Cc: list. Hmm. I just noticed the mm@ removed patch-configure from the port as the upstream now uses sh. So there is a problem, but it is not with the port. Looks like the upstream switched to sh, but sis not remove all of the "bash"isms. I edited configure to change from sh to bash and that makes it configure and build correctly. Looks like the configure script needs a bit of love to work correctly with sh, though I still am baffled as to why if built on 2 systems and failed on one. --=20 R. Kevin Oberman, Network Engineer E-mail: kob6558@gmail.com
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAN6yY1uZgu1e1m8r8syG8Va6-by0CNRLP0Wy7L%2BGJxyKvx_WyA>