/[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.2 - (show annotations) (download)
Wed May 11 18:21:41 2011 UTC (8 years, 9 months ago) by hwoarang
Branch: MAIN
Changes since 1.1: +2 -2 lines
Stable on amd64 wrt bug #366665

(Portage version: 2.1.9.47/cvs/Linux x86_64)

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-r3.ebuild,v 1.1 2011/04/09 13:49:35 armin76 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