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

Contents of /dev-libs/pth/pth-2.0.7-r3.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (hide annotations) (download)
Sat Apr 9 13:49:35 2011 UTC (8 years, 10 months ago) by armin76
Branch: MAIN
Add a new revision that provides a workaround for bug #350815, and a patch for ia64. Straight to stable for arm/ia64/sh

(Portage version: 2.1.9.44/cvs/Linux ia64, RepoMan options: --force)

1 armin76 1.1 # Copyright 1999-2011 Gentoo Foundation
2     # Distributed under the terms of the GNU General Public License v2
3     # $Header: /var/cvsroot/gentoo-x86/dev-libs/pth/pth-2.0.7-r2.ebuild,v 1.2 2011/01/12 21:56:34 arfrever Exp $
4    
5     inherit eutils fixheadtails libtool flag-o-matic
6    
7     DESCRIPTION="GNU Portable Threads"
8     HOMEPAGE="http://www.gnu.org/software/pth/"
9     SRC_URI="mirror://gnu/${PN}/${P}.tar.gz"
10    
11     LICENSE="LGPL-2.1"
12     SLOT="0"
13     KEYWORDS="~alpha ~amd64 arm ~hppa ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 sh ~sparc ~x86 ~x86-fbsd"
14     IUSE="debug"
15    
16     DEPEND=""
17     RDEPEND="${DEPEND}"
18    
19     src_unpack() {
20     unpack ${A}
21     cd "${S}"
22     epatch "${FILESDIR}"/${PN}-2.0.5-parallelfix.patch
23     epatch "${FILESDIR}"/${PN}-2.0.6-ldflags.patch
24     epatch "${FILESDIR}"/${PN}-2.0.6-sigstack.patch
25     epatch "${FILESDIR}"/${PN}-2.0.7-parallel-install.patch
26     epatch "${FILESDIR}"/${PN}-2.0.7-ia64.patch
27    
28     ht_fix_file aclocal.m4 configure
29    
30     elibtoolize
31     }
32    
33     src_compile() {
34     # bug 350815
35     ( use arm || use sh ) && append-flags -U_FORTIFY_SOURCE
36    
37     local conf
38     use debug && conf="${conf} --enable-debug" # have a bug --disable-debug and shared
39     econf ${conf} || die
40     emake || die
41     }
42    
43     src_install() {
44     #Parallel install issuse fixed with parallel-install.patch.
45     #Submitted upstream on 12-13-2010.
46     emake DESTDIR="${D}" install || die
47     dodoc ANNOUNCE AUTHORS ChangeLog NEWS README THANKS USERS || die
48     }

  ViewVC Help
Powered by ViewVC 1.1.20