Package: openal Severity: wishlist openal currently does not build anymore on GNU/kFreeBSD as this system doesn't have libasound2-dev.
Please find attached a patch to conditionnaly use libasound2. Thanks in advance. -- System Information: Debian Release: testing/unstable APT prefers unstable APT policy: (500, 'unstable') Architecture: kfreebsd-i386 (i686) Shell: /bin/sh linked to /bin/bash Kernel: GNU/kFreeBSD 5.3-10 Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
diff -u openal-0.2004090900/debian/changelog openal-0.2004090900/debian/changelog --- openal-0.2004090900/debian/changelog +++ openal-0.2004090900/debian/changelog @@ -1,3 +1,9 @@ +openal (0.2004090900-1.1+kbsd) unreleased; urgency=low + + * Added support for GNU/kFreeBSD. + + -- Aurelien Jarno <[EMAIL PROTECTED]> Mon, 13 Jun 2005 19:57:26 +0200 + openal (0.2004090900-1.1) unstable; urgency=high * Non-maintainer upload. diff -u openal-0.2004090900/debian/control openal-0.2004090900/debian/control --- openal-0.2004090900/debian/control +++ openal-0.2004090900/debian/control @@ -2,7 +2,7 @@ Section: libs Priority: optional Maintainer: Dan Helfman <[EMAIL PROTECTED]> -Build-Depends: debhelper (>= 4.0.1), texinfo, libsdl1.2-dev (>= 1.2.7), libesd0-dev, libsmpeg-dev, libvorbis-dev (>= 1.0.1), libasound2-dev (>= 1.0.5), libarts1-dev (>= 1.3.0) +Build-Depends: debhelper (>= 4.0.1), texinfo, libsdl1.2-dev (>= 1.2.7), libesd0-dev, libsmpeg-dev, libvorbis-dev (>= 1.0.1), libasound2-dev (>= 1.0.5) [!kfreebsd-i386 !hurd-i386], libarts1-dev (>= 1.3.0) Standards-Version: 3.6.1.1 Package: libopenal-dev diff -u openal-0.2004090900/debian/rules openal-0.2004090900/debian/rules --- openal-0.2004090900/debian/rules +++ openal-0.2004090900/debian/rules @@ -7,6 +7,14 @@ export DEB_HOST_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE) export DEB_BUILD_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE) +export DEB_HOST_ARCH_OS ?= $(shell dpkg-architecture -qDEB_HOST_ARCH_OS 2>/dev/null) +# Take account of old dpkg-architecture output. +ifeq ($(DEB_HOST_ARCH_OS),) + DEB_HOST_ARCH_OS := $(subst -gnu,,$(shell dpkg-architecture -qDEB_HOST_GNU_SYSTEM)) + ifeq ($(DEB_HOST_ARCH_OS),gnu) + DEB_HOST_ARCH_OS := hurd + endif +endif version=0.0.7 major=0 @@ -15,6 +23,10 @@ configure-stamp: dh_testdir +ifeq ($(DEB_HOST_ARCH_OS),linux) + confargs_alsa := --enable-alsa +endif + cd linux && sh ./configure --build=$(DEB_BUILD_GNU_TYPE) \ --host=$(DEB_HOST_GNU_TYPE) \ --prefix=/usr \ @@ -23,7 +35,7 @@ --enable-esd \ --enable-smpeg \ --enable-vorbis \ - --enable-alsa \ + $(confargs_alsa) \ --enable-arts \ --enable-sdl \ --enable-capture