[oe-commits] Richard Purdie : beecrypt: get patch from Poky to fix building on 64bit machines

GIT User account git at amethyst.openembedded.net
Thu Mar 19 14:45:55 UTC 2009


Module: openembedded.git
Branch: org.openembedded.dev
Commit: 5184bdcd58356e6c665364d552aeca81fc0660a4
URL:    http://gitweb.openembedded.net/?p=openembedded.git&a=commit;h=5184bdcd58356e6c665364d552aeca81fc0660a4

Author: Richard Purdie <richard at openedhand.com>
Date:   Mon Aug 18 08:02:37 2008 +0000

beecrypt: get patch from Poky to fix building on 64bit machines

git-svn-id: https://svn.o-hand.com/repos/poky@5068 311d38ba-8fff-0310-9ca6-ca027cbcb966

---

 recipes/beecrypt/beecrypt_3.1.0.bb  |   16 ++++------------
 recipes/beecrypt/files/x64fix.patch |   20 ++++++++++++++++++++
 2 files changed, 24 insertions(+), 12 deletions(-)

diff --git a/recipes/beecrypt/beecrypt_3.1.0.bb b/recipes/beecrypt/beecrypt_3.1.0.bb
index f9a45e7..720d99a 100644
--- a/recipes/beecrypt/beecrypt_3.1.0.bb
+++ b/recipes/beecrypt/beecrypt_3.1.0.bb
@@ -4,9 +4,10 @@
 
 DESCRIPTION="Beecrypt is a general-purpose cryptography library."
 HOMEPAGE="http://sourceforge.net/projects/beecrypt"
-SRC_URI="${SOURCEFORGE_MIRROR}/beecrypt/beecrypt-${PV}.tar.gz"
+SRC_URI="${SOURCEFORGE_MIRROR}/beecrypt/beecrypt-${PV}.tar.gz \
+         file://x64fix.patch;patch=1"
 
-PR = "r2"
+PR = "r3"
 
 inherit autotools
 acpaths=""
@@ -14,15 +15,6 @@ acpaths=""
 EXTRA_OECONF="--with-arch=${TARGET_ARCH} --enable-shared --enable-static"
 
 do_stage() {
-
-#	oe_libinstall  -a  -C .libs libbeecrypt  ${STAGING_LIBDIR}
-	cp .libs/libbeecrypt.a ${STAGING_LIBDIR}/
-	install -d ${STAGING_INCDIR}/
-	install -d ${STAGING_INCDIR}/beecrypt
-	for X in beecrypt.h beecrypt.api.h memchunk.h mpnumber.h beecrypt.gnu.h mp.h mpopt.h blockmode.h endianness.h
-	do
-		install -m 0644 ${X} ${STAGING_INCDIR}/beecrypt/${X}
-	done
-
+    autotools_stage_all
 }
 
diff --git a/recipes/beecrypt/files/x64fix.patch b/recipes/beecrypt/files/x64fix.patch
new file mode 100644
index 0000000..9ee75c1
--- /dev/null
+++ b/recipes/beecrypt/files/x64fix.patch
@@ -0,0 +1,20 @@
+Index: beecrypt-3.1.0/configure.ac
+===================================================================
+--- beecrypt-3.1.0.orig/configure.ac	2008-08-16 12:08:02.000000000 +0100
++++ beecrypt-3.1.0/configure.ac	2008-08-16 12:08:26.000000000 +0100
+@@ -754,15 +754,6 @@
+ 
+ # Check where to install the libraries
+ bc_libalt=
+-case $target_os in
+-linux*)
+-  case $bc_target_arch in
+-  alpha* | powerpc64 | s390x | x86_64)
+-    bc_libalt="64"
+-    ;;
+-  esac
+-  ;;
+-esac
+ AC_SUBST(LIBALT,$bc_libalt)
+ 
+ # Generate output files.





More information about the Openembedded-commits mailing list