[Lunar-commits] <moonbase> xvidcore: see comment in the build. AFAIK, this is limited to x86_64 only.

Dennis 'stumbles' Veatch stumbles at lunar-linux.org
Mon Jun 15 17:26:52 CEST 2009


commit ddb2a9a9937b195cc3eba6dae46fdac7fa8b6802
Author: Dennis 'stumbles' Veatch <stumbles at lunar-linux.org>
Date:   Mon Jun 15 11:26:52 2009 -0400

    xvidcore: see comment in the build. AFAIK, this is limited to x86_64 only.
---
 video/xvidcore/BUILD.x86_64 |   21 +++++++++++++++++++++
 1 files changed, 21 insertions(+), 0 deletions(-)

diff --git a/video/xvidcore/BUILD.x86_64 b/video/xvidcore/BUILD.x86_64
new file mode 100644
index 0000000..fdd1180
--- /dev/null
+++ b/video/xvidcore/BUILD.x86_64
@@ -0,0 +1,21 @@
+(
+
+# yasm causes xvidcore to create some faulty assembly that is not
+# -fPIC friendly, so just changing the detection to use nasm. No
+# x86 box available, so making this a x86_64 thing.
+  if module_installed yasm ; then
+  export ac_yasm="nasm"
+  fi &&
+
+  CFLAGS="$CFLAGS -fPIC"
+
+  cd build/generic
+
+  ./configure  --prefix=/usr              \
+               --infodir=/usr/share/info  \
+               --mandir=/usr/share/man    \
+               $OPTS                     &&
+
+  default_make
+
+) > $C_FIFO 2>&1


More information about the Lunar-commits mailing list