[Lunar-commits] <moonbase> ffmpeg: fix compilation

Duncan Gibson engelsman at lunar-linux.org
Sun Nov 28 14:44:21 CET 2010


commit dccc07ca6973fe63de14d26a0eed5f8b525f74f7
Author: Paul Bredbury <brebs at sent.com>
Date:   Sun Nov 28 14:44:21 2010 +0100

    ffmpeg: fix compilation
    
    HTML	doc/developer.html
    Option number is ambiguous (number-footnotes, number-sections)
    Try `texi2html --help' for more information.
    make: *** [doc/developer.html] Error 2
    make: *** Waiting for unfinished jobs....
    
    See https://trac.macports.org/ticket/25803
    
    Note: downloads,compiles,installs,runs OK here, but so did 0.6
          archlinux download URL not found though for 0.6 and 0.6.1
          - engelsman
---
 video/ffmpeg/BUILD |   14 +++++++++++---
 1 files changed, 11 insertions(+), 3 deletions(-)

diff --git a/video/ffmpeg/BUILD b/video/ffmpeg/BUILD
index 3d30c24..6a864bf 100644
--- a/video/ffmpeg/BUILD
+++ b/video/ffmpeg/BUILD
@@ -2,7 +2,11 @@
 
   if in_depends $MODULE libvpx ; then
      patch_it $SOURCE_CACHE/$SOURCE2 0
-  fi &&
+  fi  &&
+
+  # Fix compilation error:
+  # https://trac.macports.org/ticket/25803
+  sedit "s:texi2html -monolithic -number:texi2html -monolithic:" Makefile  &&
 
   OPTS+=" --enable-gpl            \
           --enable-shared         \
@@ -13,9 +17,13 @@
           --enable-avfilter       \
           --enable-nonfree"      &&
 
- [ -n $CPU ] && OPTS+=" --cpu=$CPU"
-  ./configure --prefix=/usr $OPTS  &&
+  if [ -n $CPU ] ; then
+    OPTS+=" --cpu=$CPU"
+  fi  &&
 
+  # With default_build, get error:  Unknown option "--build=i686-pc-linux-gnu"
+  ./configure --prefix=/usr $OPTS  &&
+  
   default_make
 
 ) > $C_FIFO 2>&1


More information about the Lunar-commits mailing list