/[gentoo-x86]/dev-libs/pth/pth-1.4.0.ebuild
Gentoo

Diff of /dev-libs/pth/pth-1.4.0.ebuild

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 1.27 Revision 1.28
1# Copyright 1999-2006 Gentoo Foundation 1# Copyright 1999-2006 Gentoo Foundation
2# Distributed under the terms of the GNU General Public License v2 2# Distributed under the terms of the GNU General Public License v2
3# $Header: /var/cvsroot/gentoo-x86/dev-libs/pth/Attic/pth-1.4.0.ebuild,v 1.27 2006/09/23 00:57:44 dragonheart Exp $ 3# $Header: /var/cvsroot/gentoo-x86/dev-libs/pth/Attic/pth-1.4.0.ebuild,v 1.28 2006/10/27 11:42:01 grobian Exp $
4 4
5inherit libtool eutils 5inherit libtool eutils
6 6
7DESCRIPTION="GNU Portable Threads" 7DESCRIPTION="GNU Portable Threads"
8HOMEPAGE="http://www.gnu.org/software/pth/" 8HOMEPAGE="http://www.gnu.org/software/pth/"
9SRC_URI="mirror://gnu/${PN}/${P}.tar.gz" 9SRC_URI="mirror://gnu/${PN}/${P}.tar.gz"
10 10
11LICENSE="LGPL-2.1" 11LICENSE="LGPL-2.1"
12SLOT="0" 12SLOT="0"
13KEYWORDS="alpha amd64 arm hppa mips ppc ppc-macos ppc64 s390 sh sparc x86" 13KEYWORDS="alpha amd64 arm hppa mips ppc ppc64 s390 sh sparc x86"
14IUSE="" 14IUSE=""
15 15
16DEPEND="" 16DEPEND=""
17 17
18src_unpack() { 18src_unpack() {
19 unpack ${A} 19 unpack ${A}
20 use ppc-macos && darwintoolize
21 epatch "${FILESDIR}/${P}-sigstack.patch" 20 epatch "${FILESDIR}/${P}-sigstack.patch"
22 #fix warnings 21 #fix warnings
23 sed -i "s:pow10:math_pow10:g" "${S}"/pth_string.c 22 sed -i "s:pow10:math_pow10:g" "${S}"/pth_string.c
24 sed -i "s:round:math_round:g" "${S}"/pth_string.c 23 sed -i "s:round:math_round:g" "${S}"/pth_string.c
25} 24}

Legend:
Removed from v.1.27  
changed lines
  Added in v.1.28

  ViewVC Help
Powered by ViewVC 1.1.20