Package: mkcue
Version: 1-2.1
Severity: important
Tags: patch
User: debian-...@lists.debian.org
Usertags: kfreebsd

Hi,

your package FTBFS on GNU/kFreeBSD this way:
| configure: creating ./config.status
| config.status: creating GNUmakefile
| config.status: creating config.h
| config.status: linking ./osdep/mb_.cpp to mb.cc
| config.status: error: ./osdep/mb_.cpp: file not found
| make: *** [config.status] Error 1

Please find attached a tiny patch to fix this. Please note that it
probably will match GNU/Hurd too, so I guess than adding a check on
host_vendor is in order before declaring we're on GNU/kFreeBSD in the
'*-gnu*' case.

For reference:
| k...@kbsd:~/hack/mkcue-1$ grep ^host config.log 
| hostname = kbsd
| host='i486-kfreebsd-gnu'
| host_alias='i486-kfreebsd-gnu'
| host_cpu='i486'
| host_os='gnu'
| host_vendor='kfreebsd'

Please note that once the patch applied, you'll have to relibtoolize,
e.g. by using “autoreconf -vfi”.

Mraw,
KiBi.
--- a/configure.ac
+++ b/configure.ac
@@ -18,6 +18,7 @@ case "${host_cpu}-${host_os}" in
   *-darwin*)  os=darwin ;;
   *-irix*)    os=irix; CXXFLAGS="$CFLAGS -fsquangle";
                        LIBS='-lcdaudio -lmediad -lds' ;;
+  *-gnu*)     os=freebsd ;; # GNU/kFreeBSD, might match GNU/Hurd too.
   *-linux*)   os=linux ;;
   *-netbsd*)  os=netbsd ;;
   *-openbsd*) os=openbsd ;;

Reply via email to