summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRaúl Porcel <armin76@gentoo.org>2008-05-16 09:43:44 +0000
committerRaúl Porcel <armin76@gentoo.org>2008-05-16 09:43:44 +0000
commitdf5d7efe528fdcf481f31e4024341cb93266f11a (patch)
tree43110338e9343793261bb688f765904c940191e5 /app-arch/upx-ucl
parentOld. (diff)
downloadgentoo-2-df5d7efe528fdcf481f31e4024341cb93266f11a.tar.gz
gentoo-2-df5d7efe528fdcf481f31e4024341cb93266f11a.tar.bz2
gentoo-2-df5d7efe528fdcf481f31e4024341cb93266f11a.zip
Fix building on sparc, thanks to Friedrich Oslage on bug #217983
(Portage version: 2.1.4.4)
Diffstat (limited to 'app-arch/upx-ucl')
-rw-r--r--app-arch/upx-ucl/ChangeLog5
-rw-r--r--app-arch/upx-ucl/upx-ucl-3.02.ebuild6
2 files changed, 8 insertions, 3 deletions
diff --git a/app-arch/upx-ucl/ChangeLog b/app-arch/upx-ucl/ChangeLog
index d4ae53a2868e..577fcc463dde 100644
--- a/app-arch/upx-ucl/ChangeLog
+++ b/app-arch/upx-ucl/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for app-arch/upx-ucl
# Copyright 2000-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-arch/upx-ucl/ChangeLog,v 1.13 2008/05/07 19:48:09 drizzt Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-arch/upx-ucl/ChangeLog,v 1.14 2008/05/16 09:43:44 armin76 Exp $
+
+ 16 May 2008; Raúl Porcel <armin76@gentoo.org> upx-ucl-3.02.ebuild:
+ Fix building on sparc, thanks to Friedrich Oslage on bug #217983
*upx-ucl-3.02 (07 May 2008)
diff --git a/app-arch/upx-ucl/upx-ucl-3.02.ebuild b/app-arch/upx-ucl/upx-ucl-3.02.ebuild
index 6fbc50949519..ac9c4c1b469d 100644
--- a/app-arch/upx-ucl/upx-ucl-3.02.ebuild
+++ b/app-arch/upx-ucl/upx-ucl-3.02.ebuild
@@ -1,8 +1,8 @@
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-arch/upx-ucl/upx-ucl-3.02.ebuild,v 1.1 2008/05/07 19:48:09 drizzt Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-arch/upx-ucl/upx-ucl-3.02.ebuild,v 1.2 2008/05/16 09:43:44 armin76 Exp $
-inherit eutils toolchain-funcs
+inherit eutils toolchain-funcs flag-o-matic
LZMA_VER=4.57
MY_P="${P/-ucl/}-src"
@@ -31,6 +31,8 @@ src_unpack() {
}
src_compile() {
+ use sparc && append-flags "-D__BIG_ENDIAN__"
+
tc-export CXX
emake UPX_LZMADIR="${WORKDIR}"/lzma-${LZMA_VER} all || die
}