summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCharlie Shepherd <masterdriverz@gentoo.org>2006-12-04 22:35:10 +0000
committerCharlie Shepherd <masterdriverz@gentoo.org>2006-12-04 22:35:10 +0000
commit7134efae134bccefab8c629663c90606b5fe10c3 (patch)
tree81ec145427c70c3585dff33ebeff7b9a68b49c30 /app-arch/freeze
parentAlways linking statically against glib to solve problems when /usr is not yet... (diff)
downloadgentoo-2-7134efae134bccefab8c629663c90606b5fe10c3.tar.gz
gentoo-2-7134efae134bccefab8c629663c90606b5fe10c3.tar.bz2
gentoo-2-7134efae134bccefab8c629663c90606b5fe10c3.zip
Stop Makefile stripping files, thanks to Jakub for the patch, bug 152224
(Portage version: 2.1.2_rc2-r2)
Diffstat (limited to 'app-arch/freeze')
-rw-r--r--app-arch/freeze/ChangeLog8
-rw-r--r--app-arch/freeze/files/digest-freeze-2.5.02
-rw-r--r--app-arch/freeze/freeze-2.5.0.ebuild15
3 files changed, 19 insertions, 6 deletions
diff --git a/app-arch/freeze/ChangeLog b/app-arch/freeze/ChangeLog
index 4f360c582792..7e20351c0f3d 100644
--- a/app-arch/freeze/ChangeLog
+++ b/app-arch/freeze/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for app-arch/freeze
-# Copyright 2002-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-arch/freeze/ChangeLog,v 1.14 2005/11/13 03:51:26 weeve Exp $
+# Copyright 2002-2006 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/app-arch/freeze/ChangeLog,v 1.15 2006/12/04 22:35:10 masterdriverz Exp $
+
+ 04 Dec 2006; Charlie Shepherd <masterdriverz@gentoo.org>
+ freeze-2.5.0.ebuild:
+ Stop Makefile stripping files, thanks to Jakub for the patch, bug 152224
13 Nov 2005; Jason Wever <weeve@gentoo.org> freeze-2.5.0.ebuild:
Stable on SPARC.
diff --git a/app-arch/freeze/files/digest-freeze-2.5.0 b/app-arch/freeze/files/digest-freeze-2.5.0
index fc8c9605af10..e7e4ed67cda2 100644
--- a/app-arch/freeze/files/digest-freeze-2.5.0
+++ b/app-arch/freeze/files/digest-freeze-2.5.0
@@ -1 +1,3 @@
MD5 3ca4b267c0d49451ff58cf403671b98a freeze-2.5.0.tar.gz 36010
+RMD160 c3c161c4214a0f3774f96f3df19e8dbcbb969403 freeze-2.5.0.tar.gz 36010
+SHA256 f543eb18bd7de8893a3c0bac0e4fa5fea46a4e10f5d8182cebc40c97b8593863 freeze-2.5.0.tar.gz 36010
diff --git a/app-arch/freeze/freeze-2.5.0.ebuild b/app-arch/freeze/freeze-2.5.0.ebuild
index 712ae501024e..8c12c1f4ad90 100644
--- a/app-arch/freeze/freeze-2.5.0.ebuild
+++ b/app-arch/freeze/freeze-2.5.0.ebuild
@@ -1,6 +1,8 @@
-# Copyright 1999-2005 Gentoo Foundation
+# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-arch/freeze/freeze-2.5.0.ebuild,v 1.16 2005/11/29 02:57:36 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-arch/freeze/freeze-2.5.0.ebuild,v 1.17 2006/12/04 22:35:10 masterdriverz Exp $
+
+inherit toolchain-funcs
DESCRIPTION="Freeze/unfreeze compression program"
HOMEPAGE="http://www.ibiblio.org/pub/Linux/utils/compress/"
@@ -11,7 +13,7 @@ SLOT="0"
KEYWORDS="alpha amd64 ~hppa ppc ppc64 sparc x86"
IUSE=""
-RDEPEND="virtual/libc"
+RDEPEND=""
DEPEND="${RDEPEND}
>=sys-apps/sed-4"
@@ -20,13 +22,18 @@ src_unpack() {
cd ${S}
# Hard links confuse prepman and these links are absolute.
- sed -e "s:ln -f:ln -sf:g" -i Makefile.in || die "sed failed"
+ # Fix pre-stripped binary and respect CFLAGS as well
+ sed -i -e 's:ln -f:ln -sf:g' \
+ -e 's:-strip $@::g' \
+ -e '/^CFLAGS/s:=.*:+= -I.:' \
+ Makefile.in || die "sed failed"
}
src_compile() {
econf || die
emake \
+ CC=$(tc-getCC)
OPTIONS="-DDEFFILE=\\\"/etc/freeze.cnf\\\"" \
|| die "compile problem"
}