Bug#263536: Updated patch for GNU/kFreeBSD support
tag 263536 pending
stop
* Aurelien Jarno [Fri, 12 Aug 2005 01:00:58 +0200]:
> Package: arts
> Followup-For: Bug #263536
> Hello,
> Please find attached a new patch to add GNU/kFreeBSD (and also GNU/Hurd
> support). It simply disable alsa (as it is linux only) on these
> platforms. The new patch is not so invasive as the first one, and
> doesn't use a control.in nor use type-handling.
> Would it be possible to add it with the next upload?
Yes, thanks for providing a clean patch.
As in KDE 3.4 (currently in experimental) we've switched to cdbs, I've
adapted the debian/rules chunk. It is attached; I've tested and it
works, please let us know if you think it has some kind of bug.
Cheers,
--
Adeodato Simó
EM: asp16 [ykwim] alu.ua.es | PK: DA6AE621
Listening to: Pedro Guerra - Deseo
The pure and simple truth is rarely pure and never simple.
-- Oscar Wilde
Index: debian/rules
===================================================================
--- debian/rules (revision 1435)
+++ debian/rules (working copy)
@@ -14,3 +14,13 @@
#shlibs_ver = 1.4.2-1
#$(foreach p,$(PACKAGES_WITH_LIBS),$(eval DEB_DH_MAKESHLIBS_ARGS_$(p) := -V'$(p) (>= $(shlibs_ver))'))
+
+###
+
+DEB_HOST_ARCH_OS ?= $(shell dpkg-architecture -qDEB_HOST_ARCH_OS)
+
+binary-predeb/libarts1-dev::
+ifeq (linux,$(DEB_HOST_ARCH_OS))
+ echo "libasound2-dev=libasound2-dev" >>debian/libarts1-dev.substvars
+endif
+
Reply to: