Package: wmclockmon Severity: normal Tags: patch Hi,
wmclockmon fails to build on kFreeBSD, mostly because the configure script does not check the arch correctly. The attached patch makes the following changes: * update Standards version to 3.7.2 * add kfreebsd target to configure.ac script * update config.{guess,sub} * remove obsolete depends on xlibs-dev (this change was just to make package lintian-clean, drop it if you consider it bad) You also have to run autoconf to validate the changes on configure.ac) Regards, Pierre -- System Information: Debian Release: testing/unstable APT prefers unstable APT policy: (500, 'unstable') Architecture: i386 (i686) Shell: /bin/sh linked to /bin/bash Kernel: Linux 2.6.16-1-vserver-686 Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8) (ignored: LC_ALL set to fr_FR.UTF-8)
diff -ruN wmclockmon-0.8.1-orig/configure.ac wmclockmon-0.8.1/configure.ac --- wmclockmon-0.8.1-orig/configure.ac 2005-06-15 15:55:27.000000000 +0200 +++ wmclockmon-0.8.1/configure.ac 2006-06-06 16:48:15.000000000 +0200 @@ -98,7 +98,7 @@ ignore_buffers=yes ignore_cached=yes ;; -freebsd*) +[k]freebsd*) OS=freebsd ignore_wired=yes ignore_cached=yes diff -ruN wmclockmon-0.8.1-orig/debian/control wmclockmon-0.8.1/debian/control --- wmclockmon-0.8.1-orig/debian/control 2005-06-15 15:55:27.000000000 +0200 +++ wmclockmon-0.8.1/debian/control 2006-06-06 15:43:03.000000000 +0200 @@ -2,8 +2,8 @@ Section: x11 Priority: optional Maintainer: Marc 'HE' Brockschmidt <[EMAIL PROTECTED]> -Build-Depends: libglib1.2-dev, libgtk1.2-dev, libx11-dev | xlibs-dev (>> 4.1.0), libxext-dev | xlibs-dev (>> 4.1.0), libxi-dev | xlibs-dev (>> 4.1.0), libxpm-dev | xlibs-dev (>> 4.1.0), libxt-dev | xlibs-dev (>> 4.1.0), debhelper (>= 4) -Standards-Version: 3.6.1 +Build-Depends: libglib1.2-dev, libgtk1.2-dev, libx11-dev, libxext-dev, libxi-dev, libxpm-dev, libxt-dev, debhelper (>= 4), autotools-dev +Standards-Version: 3.7.2 Package: wmclockmon Architecture: any diff -ruN wmclockmon-0.8.1-orig/debian/rules wmclockmon-0.8.1/debian/rules --- wmclockmon-0.8.1-orig/debian/rules 2005-06-15 15:55:27.000000000 +0200 +++ wmclockmon-0.8.1/debian/rules 2006-06-06 15:34:13.000000000 +0200 @@ -27,6 +27,12 @@ rm -f build-stamp install-stamp configure-stamp -$(MAKE) maintainer-clean rm -f config.h config.log config.status stamp-h Makefile src/Makefile doc/Makefile wmclockmon-config/Makefile wmclockmon-cal/Makefile +ifneq "$(wildcard /usr/share/misc/config.sub)" "" + cp -f /usr/share/misc/config.sub config.sub +endif +ifneq "$(wildcard /usr/share/misc/config.guess)" "" + cp -f /usr/share/misc/config.guess config.guess +endif dh_clean install: install-stamp