On Sun, Feb 21, 2010 at 22:28:12 +0100, Cyril Brulebois wrote:

> diff --git a/debian/rules b/debian/rules
> index fdc2b4c..017567e 100755
> --- a/debian/rules
> +++ b/debian/rules
> @@ -108,6 +108,9 @@ ifeq (linux, $(DEB_HOST_ARCH_OS))
>       for file in drm_mode.h drm_sarea.h drm.h i915_drm.h mga_drm.h 
> r128_drm.h radeon_drm.h savage_drm.h sis_drm.h via_drm.h; do \
>               rm -f debian/tmp/usr/include/drm/$$file; \
>       done
> +else
> +     # remove files not installed on non-Linux architectures:
> +     rm -f debian/tmp/usr/lib/libdrm_radeon.so.*
>  endif
>  
>  # Build architecture-independent files here.

Another option would be to pass --disable-radeon to configure on !linux.

Cheers,
Julien



-- 
To UNSUBSCRIBE, email to debian-bugs-rc-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to