[Lunar-commits] <moonbase> mpeg2dec: added missing dep and used += in BUILD instead of export

Duncan Gibson engelsman at lunar-linux.org
Sat Feb 5 13:12:56 CET 2011


commit 010a9c9959e2c5f051ec193e1b7021a86ecbe584
Author: Christian Krause <kizkizzbangbang at googlemail.com>
Date:   Sat Feb 5 13:12:56 2011 +0100

    mpeg2dec: added missing dep and used += in BUILD instead of export
---
 video/mpeg2dec/BUILD   |    2 +-
 video/mpeg2dec/DEPENDS |    4 ++++
 2 files changed, 5 insertions(+), 1 deletions(-)

diff --git a/video/mpeg2dec/BUILD b/video/mpeg2dec/BUILD
index e6d8183..0f5a432 100644
--- a/video/mpeg2dec/BUILD
+++ b/video/mpeg2dec/BUILD
@@ -1,6 +1,6 @@
 (
 
-  export CFLAGS="$CFLAGS -fPIC"
+  CFLAGS+=" -fPIC" &&
 
   default_build
 
diff --git a/video/mpeg2dec/DEPENDS b/video/mpeg2dec/DEPENDS
new file mode 100644
index 0000000..bde9291
--- /dev/null
+++ b/video/mpeg2dec/DEPENDS
@@ -0,0 +1,4 @@
+optional_depends "SDL"             \
+                 "--enable-sdl"    \
+                 "--disable-sdl"   \
+                 "for SDL support"


More information about the Lunar-commits mailing list