debian/rules |    6 ++++++
 1 file changed, 6 insertions(+)

New commits:
commit a4dc0bccb3fd7717dd756fbd4ae4f5422a236580
Author: Christopher James Halse Rogers <christopher.halse.rog...@canonical.com>
Date:   Wed May 26 20:23:29 2010 +1000

    Only act on libkms when we're building libkms

diff --git a/debian/rules b/debian/rules
index 4be7e37..8f55cda 100755
--- a/debian/rules
+++ b/debian/rules
@@ -25,6 +25,7 @@ endif
 ifeq (linux, $(DEB_HOST_ARCH_OS))
        confflags += --enable-udev
        confflags += --enable-libkms
+       LIBKMS = yes
        confflags += --enable-vmwgfx-experimental-api
        confflags += --enable-nouveau-experimental-api
        NOUVEAU = yes
@@ -33,6 +34,7 @@ ifeq (linux, $(DEB_HOST_ARCH_OS))
 else
        confflags += --disable-udev
        confflags += --disable-libkms
+       LIBKMS=no
        confflags += --disable-nouveau-experimental-api
        NOUVEAU = no
        confflags += --disable-radeon
@@ -134,7 +136,9 @@ endif
 ifeq ($(RADEON), yes)
        dh_strip -plibdrm-radeon1 --dbg-package=libdrm-radeon1-dbg
 endif
+ifeq ($(LIBKMS), yes)
        dh_strip -p libkms1 --dbg-package=libkms1-dbg
+endif
        dh_strip -s --remaining-packages
        dh_compress -s
        dh_fixperms -s
@@ -148,7 +152,9 @@ endif
 ifeq ($(RADEON), yes)
        dh_makeshlibs -plibdrm-radeon1 -V'libdrm-radeon1 (>= 2.4.20)' -- -c4
 endif
+ifeq ($(LIBKMS), yes)
        dh_makeshlibs -plibkms1 -V'libkms1 (>=2.4.20)' -- -c4
+endif
        dh_installdeb -s
        dh_shlibdeps -s
        dh_gencontrol -s


-- 
To UNSUBSCRIBE, email to debian-x-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/e1ohdmq-0000dy...@alioth.debian.org

Reply via email to