Stop in /usr/ports/multimedia/x264

Kevin Oberman kob6558 at gmail.com
Thu Dec 22 05:25:00 UTC 2011


On Thu, Dec 22, 2011 at 3:03 AM,  <perryh at pluto.rain.com> wrote:
> Kevin Oberman <kob6558 at gmail.com> wrote:
>
>> I see the following errors during the configure stage:
>> ===>  Configuring 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:
>
>  -#!/bin/bash
>  +#!/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
>
>  -#!/bin/bash
>  +#!/usr/local/bin/bash
>
> and bash needs to be added as a build dependency.  (Alternatively, the
> configure script could be patched to not use the [[ bash builtin.)
>
> Maintainer already in Cc: list.

OK, but why does it build correctly on all of my other systems? All
have bash installed, but none use it to configure x264, so, while I
suspect it does cause the errors OTHER then the
"[: X264_CSP_Iall: unexpected operator" error. None of the others
breaks the build.

Off to try configuring with bash.
-- 
R. Kevin Oberman, Network Engineer
E-mail: kob6558 at gmail.com


More information about the freebsd-ports mailing list