From e3ab796b4bf20266f2a230b067c928e9d1d53549 Mon Sep 17 00:00:00 2001 From: Charlie Shepherd Date: Mon, 4 Dec 2006 22:35:10 +0000 Subject: [PATCH] Stop Makefile stripping files, thanks to Jakub for the patch, bug 152224 Package-Manager: portage-2.1.2_rc2-r2 --- app-arch/freeze/ChangeLog | 8 +++++-- app-arch/freeze/Manifest | 28 ++++++++++++----------- app-arch/freeze/files/digest-freeze-2.5.0 | 2 ++ app-arch/freeze/freeze-2.5.0.ebuild | 15 ++++++++---- 4 files changed, 34 insertions(+), 19 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 + freeze-2.5.0.ebuild: + Stop Makefile stripping files, thanks to Jakub for the patch, bug 152224 13 Nov 2005; Jason Wever freeze-2.5.0.ebuild: Stable on SPARC. diff --git a/app-arch/freeze/Manifest b/app-arch/freeze/Manifest index 9ff387d7f1b3..c8a69a48288b 100644 --- a/app-arch/freeze/Manifest +++ b/app-arch/freeze/Manifest @@ -1,14 +1,16 @@ ------BEGIN PGP SIGNED MESSAGE----- -Hash: SHA1 - -MD5 15d7c40203caf4ffb50e28b6ca73b3bb ChangeLog 1395 -MD5 be8cdc70d8fc9904b2452458e271aef3 files/digest-freeze-2.5.0 63 -MD5 cd99338ccaa4e99c2dad383d66279d0e freeze-2.5.0.ebuild 1008 +DIST freeze-2.5.0.tar.gz 36010 RMD160 c3c161c4214a0f3774f96f3df19e8dbcbb969403 SHA1 715a605c58dd3f06dc82c4217d6aebaa113d0cbf SHA256 f543eb18bd7de8893a3c0bac0e4fa5fea46a4e10f5d8182cebc40c97b8593863 +EBUILD freeze-2.5.0.ebuild 1159 RMD160 27acae479ea7abf9b5ec460778af10a9e7257022 SHA1 ef56117cc0d544c0562aad82aea4ed9f361aec9e SHA256 99043d1fe5983be5f3c3ec2670953e110fde67746ed57efce6eb07a1ec1f4d5d +MD5 80391f371a65e5feb51c0d1ce94630b1 freeze-2.5.0.ebuild 1159 +RMD160 27acae479ea7abf9b5ec460778af10a9e7257022 freeze-2.5.0.ebuild 1159 +SHA256 99043d1fe5983be5f3c3ec2670953e110fde67746ed57efce6eb07a1ec1f4d5d freeze-2.5.0.ebuild 1159 +MISC ChangeLog 1561 RMD160 30a332cedd0205285ac29300ec9ef65c4533c176 SHA1 972d5f23de4586beeaa3b9abf2c7d49c474fbaa3 SHA256 c2b28b3f0d8dcb28bf64ec48b98c87582204613183443a97830fd3e197b51fe9 +MD5 f091e98d5b06c68f91c7eef0f92a511d ChangeLog 1561 +RMD160 30a332cedd0205285ac29300ec9ef65c4533c176 ChangeLog 1561 +SHA256 c2b28b3f0d8dcb28bf64ec48b98c87582204613183443a97830fd3e197b51fe9 ChangeLog 1561 +MISC metadata.xml 160 RMD160 d86217bb48cf4283e08e43bcaabbc919101ad795 SHA1 d6147d00f16e8cfeef893d0764b0675a93d62849 SHA256 56fca1e06f6dcbe3bc12e7d3962998c7cb79d74f218ce8a17b07771b3e06f49e MD5 dffd46174e78b327c834fc3e4b1cf848 metadata.xml 160 ------BEGIN PGP SIGNATURE----- -Version: GnuPG v1.4.2 (GNU/Linux) - -iD8DBQFDwWfuV3J2n04EauwRApsuAJ0UmLB16I0UT98rdEf72bioWEGGWACgg1p5 -ybk3JUkYv+fC0Y8hXqKFDkQ= -=PB3H ------END PGP SIGNATURE----- +RMD160 d86217bb48cf4283e08e43bcaabbc919101ad795 metadata.xml 160 +SHA256 56fca1e06f6dcbe3bc12e7d3962998c7cb79d74f218ce8a17b07771b3e06f49e metadata.xml 160 +MD5 93e7eeda2a4022c3e375a08b7a65bbbc files/digest-freeze-2.5.0 235 +RMD160 e4c4af0cb4dd7a71b568fd083108ad00af76c7ce files/digest-freeze-2.5.0 235 +SHA256 2903b04daf64c007a5b942254d4c5b2fbba103acb8783c8097707948e9ea3e09 files/digest-freeze-2.5.0 235 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" } -- 2.26.2