Package: botan1.5
Severity: important
Version: 1.5.13-1
Tags: patch


Hi,

the current version fails to build on GNU/kFreeBSD.

It needs small override in debian/rules, see bellow.

Thanks in advance

                        Petr


--- debian/rules~       2006-12-13 17:58:58.000000000 +0100
+++ debian/rules        2006-12-13 17:58:58.000000000 +0100
@@ -13,12 +13,18 @@
        CFLAGS += -O2
 endif

+DEB_HOST_ARCH_OS ?= $(shell dpkg-architecture -qDEB_HOST_ARCH_OS)
+
+ifeq (kfreebsd,$(DEB_HOST_ARCH_OS))
+        TARGET=gcc-linux-generic
+endif
+
 configure: configure-stamp
 configure-stamp: patch-stamp
        dh_testdir

        # Configuring package
-       ./configure.pl --prefix=/usr 
--modules=comp_bzip2,comp_zlib,eng_gmp,eng_ossl
+       ./configure.pl --prefix=/usr 
--modules=comp_bzip2,comp_zlib,eng_gmp,eng_ossl $(TARGET)

        touch configure-stamp




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

Reply via email to