[Lunar-commits] <moonbase> libdrm: Fix the compilation. 1. udev is needed anyway so i make it a normal depend. 2. it doesn't compile without intel and radeon options

Florin Braescu florin at lunar-linux.org
Mon May 2 16:56:33 CEST 2011


commit 6139395b7181f7c6173e51f856ca1fc47c41cd49
Author: Florin Braescu <florin at lunar-linux.org>
Date:   Mon May 2 17:56:33 2011 +0300

    libdrm: Fix the compilation.
      1. udev is needed anyway so i make it a normal depend.
      2. it doesn't compile without intel and radeon options
---
 xorg7/extra/libdrm/BUILD     |    7 +++++++
 xorg7/extra/libdrm/CONFIGURE |    2 --
 xorg7/extra/libdrm/DEPENDS   |    6 +-----
 3 files changed, 8 insertions(+), 7 deletions(-)

diff --git a/xorg7/extra/libdrm/BUILD b/xorg7/extra/libdrm/BUILD
new file mode 100644
index 0000000..ebdd138
--- /dev/null
+++ b/xorg7/extra/libdrm/BUILD
@@ -0,0 +1,7 @@
+(
+
+  OPTS+=" --enable-intel --enable-radeon --enable-udev "  &&
+
+  default_build
+
+) > $C_FIFO 2>&1
diff --git a/xorg7/extra/libdrm/CONFIGURE b/xorg7/extra/libdrm/CONFIGURE
deleted file mode 100644
index e6fe977..0000000
--- a/xorg7/extra/libdrm/CONFIGURE
+++ /dev/null
@@ -1,2 +0,0 @@
-mquery RADEON "Enable support for radeons KMS API?" n "--enable-radeon" "--disable-radeon"
-mquery INTEL  "Enable support for intels  KMS API?" n "--enable-intel"  "--disable-intel"
diff --git a/xorg7/extra/libdrm/DEPENDS b/xorg7/extra/libdrm/DEPENDS
index 9a34e80..6fbdf2e 100644
--- a/xorg7/extra/libdrm/DEPENDS
+++ b/xorg7/extra/libdrm/DEPENDS
@@ -1,6 +1,2 @@
 depends libpthread-stubs
-
-optional_depends "udev"                                                         \
-                 "--enable-udev"                                                \
-                 "--disable-udev"                                               \
-                 "for udev support for using udev instead of mknod for devices"
+depends udev


More information about the Lunar-commits mailing list