Stop in /usr/ports/multimedia/x264

perryh at pluto.rain.com perryh at pluto.rain.com
Thu Dec 22 04:13:24 UTC 2011


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.


More information about the freebsd-ports mailing list