Greetings.

I have a situation with mumble where the build is breaking on armel architecture. Upstream has identified that this bug is due to the mumble "link" plugin containing atomic memory operations. I would like to conditionally patch the source plugins/CMakeLists.txt file based on architecutre to not build that one plugin for armel. CDBS apparently has a way of doing this [1] and I would like to find a solution for doing this with debhelper. I've been searching and haven't found anything quite fitting.

I suppose in a pinch I could build-depend on the 'patch' command and do something like this in debian/rules:

ifeq ($(DEB_HOST_ARCH),armel)
        patch < debian/patches/armel/95-fix-build-armel.patch
endif

... but I'm hoping something else already exists for doing this with the normal build system or debhelper/dh.

If someone has a better solution, please let me know.

Thanks much.

[1] https://lists.debian.org/debian-devel/2006/11/msg01005.html

   -- Chris

--
Chris Knadle
chris.kna...@coredump.us
Debian developer

Reply via email to