Package: swig1.3
Severity: important
Tags: patch

Hi,

swig1.3 fails to build on GNU/kFreeBSD because this architecture does
not yet have java support, where swig1.3 tries to build the java
support.

Please find attached a patch to fix that. Could you please add it in
your 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)
Author: aurel32
Status: in BTS

diff -u swig1.3-1.3.27/debian/control swig1.3-1.3.27/debian/control
--- swig1.3-1.3.27/debian/control
+++ swig1.3-1.3.27/debian/control
@@ -3,7 +3,7 @@
 Priority: optional
 Maintainer: Torsten Landschoff <[EMAIL PROTECTED]>
 Standards-Version: 3.6.2
-Build-Depends: debhelper, tcl8.4-dev, tk8.4-dev, libperl-dev, bison, 
python-dev (>= 2.3), python-dev (<< 2.4), ruby1.8, ruby1.8-dev, guile-1.6-dev, 
php4-dev, php4-cgi, pike7.6, pike7.6-dev, ocaml, chicken-dev [!m68k !mips 
!mipsel], libpcre3-dev [!m68k !mips !mipsel], gcj [!hppa !mips !mipsel], gij 
[!hppa !mips !mipsel]
+Build-Depends: debhelper, tcl8.4-dev, tk8.4-dev, libperl-dev, bison, 
python-dev (>= 2.3), python-dev (<< 2.4), ruby1.8, ruby1.8-dev, guile-1.6-dev, 
php4-dev, php4-cgi, pike7.6, pike7.6-dev, ocaml, chicken-dev [!m68k !mips 
!mipsel], libpcre3-dev [!m68k !mips !mipsel], gcj [!hppa !mips !mipsel 
!kfreebsd-i386], gij [!hppa !mips !mipsel !kfreebsd-i386]
 
 Package: swig
 Architecture: any
diff -u swig1.3-1.3.27/debian/rules swig1.3-1.3.27/debian/rules
--- swig1.3-1.3.27/debian/rules
+++ swig1.3-1.3.27/debian/rules
@@ -24,7 +24,7 @@
 DEB_TARGET_ARCH := $(shell dpkg-architecture -qDEB_HOST_ARCH)
 
 with_java := yes
-no_java_archs := hppa hurd-i386 mips mipsel freebsd-i386 netbsd-i386
+no_java_archs := hppa hurd-i386 mips mipsel kfreebsd-i386 netbsd-i386
 ifneq ($(DEB_TARGET_ARCH),i386)
   ifeq ($(DEB_TARGET_ARCH), $(findstring $(DEB_TARGET_ARCH),$(no_java_archs)))
     with_java := disabled for architecure $(DEB_TARGET_ARCH)

Reply via email to