Package: freesweep
Severity: important
Tags: patch

Hi,

freesweep fails to build on GNU/kFreeBSD because the configure script
think that ncurses is installed in /usr/local for all platforms with a
BSD kernel, which is wrong there. The config.{guess,sub} are also too
old to correctly support this platform.

Please find attached a patch that pass the location of ncurses to the
configure script and that update config.{guess,sub} at build time. It
would be nice if you could add it in the next upload.

Thanks in advance,
Aurelien

-- System Information:
Debian Release: testing/unstable
Architecture: kfreebsd-i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: GNU/kFreeBSD 5.4-1-686
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
Status: in BTS
Author: aurel32

diff -u freesweep-0.88/debian/rules freesweep-0.88/debian/rules
--- freesweep-0.88/debian/rules
+++ freesweep-0.88/debian/rules
@@ -20,9 +20,10 @@
 build-stamp:
        dh_testdir
 
+       cp /usr/share/misc/config.{sub,guess} .
        $(MAKE) config.h.in
        CFLAGS="$(CFLAGS)" ./configure --prefix=/usr --with-prefsdir=/etc \
-               --with-scoresdir=/var/games --disable-debug-log
+               --with-scoresdir=/var/games --disable-debug-log 
--with-ncurses=/usr
        $(MAKE)
 
        touch build-stamp
@@ -31,6 +32,7 @@
        dh_testdir
        dh_testroot
        rm -f build-stamp
+       rm -f config.{guess,sub}
 
        -$(MAKE) clean
 
diff -u freesweep-0.88/debian/control freesweep-0.88/debian/control
--- freesweep-0.88/debian/control
+++ freesweep-0.88/debian/control
@@ -3,7 +3,7 @@
 Section: games
 Priority: optional
 Standards-Version: 3.5.5
-Build-Depends: debhelper (>= 3.0.0), libncurses5-dev, autoconf
+Build-Depends: debhelper (>= 3.0.0), libncurses5-dev, autoconf, autotools-dev
 
 Package: freesweep
 Architecture: any

Reply via email to