From owner-freebsd-multimedia@FreeBSD.ORG Sat Apr 14 08:16:05 2007 Return-Path: X-Original-To: multimedia@freebsd.org Delivered-To: freebsd-multimedia@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id BDD4616A404; Sat, 14 Apr 2007 08:16:05 +0000 (UTC) (envelope-from ast@marabu.ch) Received: from oneplusone.ch (oneplusone.ch [212.55.208.170]) by mx1.freebsd.org (Postfix) with ESMTP id 4A2D513C448; Sat, 14 Apr 2007 08:16:05 +0000 (UTC) (envelope-from ast@marabu.ch) Received: from oneplusone.ch (localhost [127.0.0.1]) by oneplusone.ch (8.13.8/8.13.8) with ESMTP id l3E7eB13068566 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sat, 14 Apr 2007 09:40:12 +0200 (CEST) (envelope-from ast@marabu.ch) Received: (from uucp@localhost) by oneplusone.ch (8.13.8/8.13.8/Submit) with UUCP id l3E7eBQe068565; Sat, 14 Apr 2007 09:40:11 +0200 (CEST) (envelope-from ast@marabu.ch) Received: from pano.marabu.ch (localhost [127.0.0.1]) by pano.marabu.ch (8.13.8/8.13.8) with ESMTP id l3E7cdmD094685; Sat, 14 Apr 2007 09:38:39 +0200 (CEST) (envelope-from ast@pano.marabu.ch) Received: (from ast@localhost) by pano.marabu.ch (8.13.8/8.13.8/Submit) id l3E7cd5h094684; Sat, 14 Apr 2007 09:38:39 +0200 (CEST) (envelope-from ast) Resent-From: ast@webgroup.ch Resent-Date: Sat, 14 Apr 2007 09:38:39 +0200 Resent-Message-ID: <20070414073839.GA94005@webgroup.ch> Resent-To: FreeBSD-gnats-submit@freebsd.org, multimedia@freebsd.org Received: from t40.marabu.ch (t40.marabu.ch [192.168.21.131]) by pano.marabu.ch (8.13.8/8.13.8) with ESMTP id l3E7anBw094640 for ; Sat, 14 Apr 2007 09:36:49 +0200 (CEST) (envelope-from ast@t40.marabu.ch) Received: from t40.marabu.ch (localhost [127.0.0.1]) by t40.marabu.ch (8.13.8/8.13.8) with ESMTP id l3E7all5045986; Sat, 14 Apr 2007 09:36:47 +0200 (CEST) (envelope-from ast@t40.marabu.ch) Received: (from ast@localhost) by t40.marabu.ch (8.13.8/8.13.8/Submit) id l3E7alv9045985; Sat, 14 Apr 2007 09:36:47 +0200 (CEST) (envelope-from ast) Date: Sat, 14 Apr 2007 09:36:47 +0200 (CEST) Message-Id: <200704140736.l3E7alv9045985@t40.marabu.ch> To: FreeBSD-gnats-submit@freebsd.org From: Adrian Steinmann X-send-pr-version: 3.113 X-GNATS-Notify: X-Backup: msg.tfhR X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-3.0 (oneplusone.ch [127.0.0.1]); Sat, 14 Apr 2007 09:40:12 +0200 (CEST) X-Mailfilter: egfilter version 1.14; Archiver [msg.oZrewjpR] (oneplusone.ch [127.0.0.1]); Sat, 14 Apr 2007 09:40:12 +0200 (CEST) X-AntiVirus: checked by AntiVir Milter (version: 1.1.2-1; AVE: 7.3.1.52; VDF: 6.38.0.219; host: oneplusone.ch) Cc: multimedia@freebsd.org Subject: multimedia/ffmpeg-devel configure script broken [PATCH included] X-BeenThere: freebsd-multimedia@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Adrian Steinmann List-Id: Multimedia discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 14 Apr 2007 08:16:05 -0000 >Submitter-Id: current-users >Originator: Adrian Steinmann >Organization: Webgroup Consulting AG >Confidential: no >Synopsis: multimedia/ffmpeg-devel configure script broken [PATCH included] >Severity: serious >Priority: medium >Category: ports >Class: maintainer-update >Release: FreeBSD 6.2-STABLE i386 >Environment: System: FreeBSD t40.marabu.ch 6.2-STABLE FreeBSD 6.2-STABLE #5: Sun Mar 11 08:57:25 CET 2007 root@t40.marabu.ch:/usr/obj/usr/src/sys/T40 i386 Description: CONFIG_ variables contain '[' because tr '[a-z]' '[A-Z]' causes that How-To-Repeat: try to build stock ffmpeg-devel Fix: Replace erroneous tr with a better one: Index: multimedia/ffmpeg-devel/files/patch-configure =================================================================== RCS file: /usr/cvs/ports/multimedia/ffmpeg-devel/files/patch-configure,v retrieving revision 1.10 diff -u -r1.10 patch-configure --- multimedia/ffmpeg-devel/files/patch-configure 2 Apr 2007 14:06:07 -0000 1.10 +++ multimedia/ffmpeg-devel/files/patch-configure 14 Apr 2007 07:21:09 -0000 @@ -1,5 +1,22 @@ --- configure.orig Sat Mar 31 00:25:05 2007 +++ configure Sun Apr 1 18:59:07 2007 +@@ -207,13 +207,13 @@ + exit 1 + } + +-# "tr '[a-z]' '[A-Z]'" is a workaround for Solaris tr not grokking "tr a-z A-Z" ++# workarounds for Solaris tr not grokking "tr a-z A-Z" + toupper(){ +- echo "$@" | tr '[a-z]' '[A-Z]' ++ echo "$@" | tr '[:lower:]' '[:upper:]' + } + + tolower(){ +- echo "$@" | tr '[A-Z]' '[a-z]' ++ echo "$@" | tr '[:upper:]' '[:lower:]' + } + + set_all(){ @@ -1966,15 +1966,15 @@ if enabled shared; then echo "BUILD_SHARED=yes" >> config.mak