Package: cfengine
Version: 1.6.5-2
Severity: wishlist
Tags: patch

When building 'cfengine' on ppc64/unstable,
I get the following error:

touch stampdir/stamp-configure
checking build system type... Invalid configuration `powerpc64-linux-gnu': 
machine `powerpc64' not recognized
configure: error: /bin/sh ./config.sub powerpc64-linux-gnu failed
make: *** [stampdir/stamp-configure] Error 1

With the attached patch 'cfengine' can be compiled on ppc64.

Regards
Andreas Jochens

diff -urN ../tmp-orig/cfengine-1.6.5/debian/control ./debian/control
--- ../tmp-orig/cfengine-1.6.5/debian/control   2005-08-26 11:10:35.000000000 
+0000
+++ ./debian/control    2005-08-26 10:36:34.000000000 +0000
@@ -3,7 +3,7 @@
 Priority: optional
 Maintainer: Tollef Fog Heen <[EMAIL PROTECTED]>
 Standards-Version: 3.2.1
-Build-Depends: autoconf (>= 2.13-20), bison, debhelper, flex, libwrap0-dev, 
libdb4.3-dev, libssl-dev
+Build-Depends: autoconf (>= 2.13-20), autotools-dev, bison, debhelper, flex, 
libwrap0-dev, libdb4.3-dev, libssl-dev
 Build-Depends-Indep: tetex-bin, texinfo
 
 Package: cfengine
diff -urN ../tmp-orig/cfengine-1.6.5/debian/rules ./debian/rules
--- ../tmp-orig/cfengine-1.6.5/debian/rules     2005-08-26 11:10:35.000000000 
+0000
+++ ./debian/rules      2005-08-26 10:36:13.000000000 +0000
@@ -25,6 +25,7 @@
 $(STAMP_DIR)/stamp-configure: $(patched)
        dh_testdir
        cd $(BUILD_TREE) && \
+       cp /usr/share/misc/config.{guess,sub} . && \
        CFLAGS="$(CFLAGS)" ./configure \
          --prefix=/usr --build=$(DEB_BUILD_GNU_TYPE) \
          --host=$(DEB_HOST_GNU_TYPE) --with-ssl && \


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

Reply via email to