Package: vblade
Version: 0.14-1
Severity: important
Tags: patch

vblade fails to build on GNU/kFreeBSD as the makefile should be given
the name of the platform if it is different from GNU/Linux. 

The small patch below fixes the problem. Could you please apply it in
the next upload. Thanks in advance.

diff -u vblade-14/debian/rules vblade-14/debian/rules
--- vblade-14/debian/rules
+++ vblade-14/debian/rules
@@ -5,9 +5,17 @@
 # Uncomment this to turn on verbose mode.
 # export DH_VERBOSE=1
 
+DEB_BUILD_ARCH_OS  ?= $(shell dpkg-architecture -qDEB_BUILD_ARCH_OS)
+
+ifeq ($(DEB_HOST_ARCH_OS),kfreebsd)
+  PLATFORM=freebsd
+else
+  PLATFORM=linux
+endif
+
 build: build-stamp
 build-stamp:
-       $(MAKE)
+       $(MAKE) PLATFORM=$(PLATFORM)
        touch build-stamp
 
 install: build

-- System Information:
Debian Release: lenny/sid
Architecture: kfreebsd-i386 (i686)

Kernel: kFreeBSD 6.2-1-686
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to