Subject: cl-sdl: FTBFS on GNU/kFreeBSD et al.
From: Cyril Brulebois <[email-masked]>
To: Debian Bug Tracking System <[email-masked]>
Date: Sat, 10 Mar 2007 22:11:00 +0100

Package: cl-sdl
Severity: important
Tags: patch

Hi,

currently your package FTBFS on GNU/kFreeBSD with the following error:
> make clean
> make[1]: Entering directory `/build/buildd/cl-sdl-0.2.2'
> (sh select_platform.sh)
> System not found
> make[1]: *** [Makefile.opts] Error 1

Full build logs are available at
<http://experimental.ftbfs.de/build.php?arch=kfreebsd-i386&pkg=cl-sdl>.

The attached patch fixes this on GNU/kFreeBSD, and maybe on GNU/Hurd (although
it is untested there).

Cheers,

-- 
Cyril Brulebois
--- cl-sdl-0.2.2/select_platform.sh	2007-03-10 23:01:02.526486000 +0100
+++ cl-sdl-0.2.2/select_platform.sh	2007-03-10 23:01:31.000000000 +0100
@@ -2,7 +2,7 @@
 
 SYS=""
 case `uname` in
-    Linux) SYS=linux ;;
+    Linux|GNU/kFreeBSD|GNU) SYS=linux ;;
     FreeBSD) SYS=fbsd ;;
     *CYGWIN*) SYS=cygwin ;;
     *MINGW*) SYS=mingw ;;