ports/111560: multimedia/ffmpeg-devel configure script broken [PATCH included]
Adrian Steinmann
ast at webgroup.ch
Sat Apr 14 08:20:10 UTC 2007
>Number: 111560
>Category: ports
>Synopsis: multimedia/ffmpeg-devel configure script broken [PATCH included]
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: maintainer-update
>Submitter-Id: current-users
>Arrival-Date: Sat Apr 14 08:20:09 GMT 2007
>Closed-Date:
>Last-Modified:
>Originator: Adrian Steinmann
>Release: FreeBSD 6.2-STABLE i386
>Organization:
Webgroup Consulting AG
>Environment:
System: FreeBSD t40.marabu.ch 6.2-STABLE FreeBSD 6.2-STABLE #5: Sun Mar 11 08:57:25 CET 2007 root at 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
>Description:
>How-To-Repeat:
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list