[Lunar-commits] <moonbase> libvpx: Adjusting the BUILD for an out of tree build per the README.

Dennis `stumbles` Veatch stumbles at lunar-linux.org
Sun Jan 2 22:52:30 CET 2011


commit 49fee091fe1f1b7cdb0d556fc454e1ff40c62134
Author: Dennis `stumbles` Veatch <stumbles at lunar-linux.org>
Date:   Sun Jan 2 16:52:30 2011 -0500

    libvpx: Adjusting the BUILD for an out of tree build per the README.
    
    Additionally yasm is a hard depends.
---
 video/libvpx/BUILD   |   14 +++++---------
 video/libvpx/DEPENDS |    2 ++
 2 files changed, 7 insertions(+), 9 deletions(-)

diff --git a/video/libvpx/BUILD b/video/libvpx/BUILD
index b10fbcd..0487b4d 100644
--- a/video/libvpx/BUILD
+++ b/video/libvpx/BUILD
@@ -1,18 +1,14 @@
 (
 
+  mkdir build-$MODULE &&
+  cd build-$MODULE &&
 
   CFLAGS="-fPIC" &&
 
-  OPTS="--enable-vp8 --enable-psnr  --enable-postproc --enable-shared \
-        --enable-runtime-cpu-detect --CPU=$CPU --disable-install-docs" &&
+  OPTS="--enable-vp8 --enable-psnr --enable-postproc --enable-shared --as=yasm \
+        --enable-runtime-cpu-detect --disable-install-docs --enable-pic --disable-examples" &&
 
-  if [ "`arch`" = "x86_64" ]; then
-   OPTS="--target=x86_64-linux-gcc"
-  else
-   OPTS="--target=x86-linux-gcc"
-  fi  &&
-
-  ./configure  $OPTS       &&
+  ../configure $OPTS &&
 
   sedit "s:/usr/local:/usr:" config.mk &&
 
diff --git a/video/libvpx/DEPENDS b/video/libvpx/DEPENDS
new file mode 100644
index 0000000..f40ea19
--- /dev/null
+++ b/video/libvpx/DEPENDS
@@ -0,0 +1,2 @@
+depends yasm
+


More information about the Lunar-commits mailing list