summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTimothy Redaelli <drizzt@gentoo.org>2006-11-30 19:30:51 +0000
committerTimothy Redaelli <drizzt@gentoo.org>2006-11-30 19:30:51 +0000
commitc65752eea8938eb8b9dc6b3bb463ce4957f6f8e2 (patch)
tree9e6075872874e9b4b598d6ab3b2a622487688cda /app-arch/mscompress/mscompress-0.3.ebuild
parentstable x86, bug #155830 (diff)
downloadhistorical-c65752eea8938eb8b9dc6b3bb463ce4957f6f8e2.tar.gz
historical-c65752eea8938eb8b9dc6b3bb463ce4957f6f8e2.tar.bz2
historical-c65752eea8938eb8b9dc6b3bb463ce4957f6f8e2.zip
Forced signed-char in CFLAGS and made stable on ppc wrt bug #148320.
Package-Manager: portage-2.1.2_rc2-r2
Diffstat (limited to 'app-arch/mscompress/mscompress-0.3.ebuild')
-rw-r--r--app-arch/mscompress/mscompress-0.3.ebuild13
1 files changed, 10 insertions, 3 deletions
diff --git a/app-arch/mscompress/mscompress-0.3.ebuild b/app-arch/mscompress/mscompress-0.3.ebuild
index 49a0fc7d6a5c..3fa57cb0cc7f 100644
--- a/app-arch/mscompress/mscompress-0.3.ebuild
+++ b/app-arch/mscompress/mscompress-0.3.ebuild
@@ -1,8 +1,8 @@
# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-arch/mscompress/mscompress-0.3.ebuild,v 1.14 2006/11/27 23:11:56 drizzt Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-arch/mscompress/mscompress-0.3.ebuild,v 1.15 2006/11/30 19:30:51 drizzt Exp $
-inherit eutils
+inherit eutils toolchain-funcs flag-o-matic
DESCRIPTION="Microsoft compress.exe/expand.exe compatible (de)compressor"
HOMEPAGE="http://gnuwin32.sourceforge.net/packages/mscompress.htm"
@@ -10,7 +10,7 @@ SRC_URI="ftp://ftp.penguin.cz/pub/users/mhi/mscompress/${P}.tar.bz2"
LICENSE="GPL-2"
SLOT="0"
-KEYWORDS="hppa ~ppc ~ppc-macos x86 ~x86-fbsd"
+KEYWORDS="hppa ppc ~ppc-macos x86 ~x86-fbsd"
IUSE=""
DEPEND=""
@@ -22,6 +22,13 @@ src_unpack() {
epatch "${FILESDIR}"/${P}-amd64.patch
}
+src_compile() {
+ tc-export CC
+ [ "${ARCH}" == "ppc" ] && append-flags -fsigned-char
+ econf || die
+ emake || die
+}
+
src_install() {
dobin mscompress msexpand || die
doman mscompress.1 msexpand.1