Changeset - 9708cb6fce5e
[Not reviewed]
default
0 2 0
Nathan Brink (binki) - 16 years ago 2009-09-04 16:37:20
ohnobinki@ohnopublishing.net
dev-libs/nspr: added ~ppc keyword, fixed email address in ChangeLog
2 files changed with 5 insertions and 2 deletions:
0 comments (0 inline, 0 general)
dev-libs/nspr/ChangeLog
Show inline comments
 
# ChangeLog for dev-libs/nspr
 
# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
 
# $Header: /var/cvsroot/gentoo-x86/dev-libs/nspr/ChangeLog,v 1.122 2009/05/01 14:03:12 maekke Exp $
 

	
 
  10 Aug 2009; Nathan Brink <ohnobinki@gentoo.org> nspr-4.8.ebuild:
 
  04 Sep 2009; Nathan Brink <ohnobinki@ohnopublishing.net> nspr-4.8.ebuild:
 
  Added ~ppc keyword, fixed email in ChangeLog
 

	
 
  10 Aug 2009; Nathan Brink <ohnobinki@ohnopublishing.net> nspr-4.8.ebuild:
 
  Added ~x86 keyword.
 

	
 
  12 Jun 2009; Nathan Phillip Brink (ohnobinki)
 
  <ohnobinki@ohnopublishing.net> nspr-4.8.ebuild:
 
  Dropped most KEYWORDS as I should have earlier.
 

	
 
  12 Jun 2009; Nathan Phillip Brink (ohnobinki)
 
  <ohnobinki@ohnopublishing.net> -nspr-4.6.8.ebuild, -nspr-4.7.3.ebuild,
 
  -nspr-4.7.4.ebuild, +nspr-4.8.ebuild:
 
  Imported, bumped to 4.8
 

	
 
  01 May 2009; Markus Meier <maekke@gentoo.org> nspr-4.7.4.ebuild:
 
  amd64 stable, bug #267234
 

	
 
  30 Apr 2009; Raúl Porcel <armin76@gentoo.org> nspr-4.7.4.ebuild:
 
  alpha/arm/ia64/sparc stable wrt #267234
 

	
 
  30 Apr 2009; Jeroen Roovers <jer@gentoo.org> nspr-4.7.4.ebuild:
 
  Stable for HPPA (bug #267234).
 

	
 
  29 Apr 2009; Brent Baude <ranger@gentoo.org> nspr-4.7.4.ebuild:
 
  Marking nspr-4.7.4 ppc64 and ppc for bug 267234
 

	
 
  29 Apr 2009; Christian Faulhammer <fauli@gentoo.org> nspr-4.6.8.ebuild,
 
  nspr-4.7.3.ebuild, nspr-4.7.4.ebuild:
 
  make repoman happy and set RDEPEND explicitly
 

	
 
  29 Apr 2009; Christian Faulhammer <fauli@gentoo.org> nspr-4.7.4.ebuild:
 
  stable x86, security bug 267234
 

	
 
*nspr-4.7.4 (15 Apr 2009)
 

	
 
  15 Apr 2009; Raúl Porcel <armin76@gentoo.org> +nspr-4.7.4.ebuild:
 
  Version bump
 

	
 
  12 Apr 2009; Friedrich Oslage <bluebird@gentoo.org> nspr-4.7.3.ebuild:
 
  Stable on sparc, security bug #262704 and security bug #265165
 

	
 
  27 Dec 2008; Brent Baude <ranger@gentoo.org> nspr-4.7.3.ebuild:
 
  Marking nspr-4.7.3 ppc64 and ppc for bug 234646
 

	
 
  26 Dec 2008; Jeroen Roovers <jer@gentoo.org> nspr-4.7.3.ebuild:
 
  Stable for HPPA (bug #234646).
 

	
 
  24 Dec 2008; Raúl Porcel <armin76@gentoo.org> -nspr-4.7.1.ebuild,
 
  -nspr-4.7.2.ebuild, nspr-4.7.3.ebuild:
 
  alpha/arm/ia64 stable wrt #234646
 

	
 
  23 Dec 2008; Markus Meier <maekke@gentoo.org> nspr-4.7.3.ebuild:
 
  x86 stable, bug #234646
 

	
 
  22 Dec 2008; Olivier Crête <tester@gentoo.org> nspr-4.7.3.ebuild:
 
  Stable on amd64, bug #234646
 

	
 
  15 Nov 2008; Raúl Porcel <armin76@gentoo.org> nspr-4.6.8.ebuild,
 
  nspr-4.7.1.ebuild, nspr-4.7.2.ebuild, nspr-4.7.3.ebuild:
 
  Enhance die message when checking for 64bits, bug #246929
 

	
 
*nspr-4.7.2 (14 Nov 2008)
 
*nspr-4.7.3 (14 Nov 2008)
 

	
 
  14 Nov 2008; Raúl Porcel <armin76@gentoo.org> +nspr-4.7.2.ebuild,
 
  +nspr-4.7.3.ebuild:
 
  Version bump
 

	
 
  26 Sep 2008; Raúl Porcel <armin76@gentoo.org> nspr-4.6.8.ebuild:
 
  arm stable
 

	
 
  13 Aug 2008; Raúl Porcel <armin76@gentoo.org> -nspr-4.7.ebuild,
 
  -nspr-4.7.1_beta2.ebuild, nspr-4.7.1.ebuild:
 
  Respect LDFLAGS, bug #181790, remove old
 

	
 
*nspr-4.7.1 (11 May 2008)
 

	
 
  11 May 2008; Raúl Porcel <armin76@gentoo.org> +nspr-4.7.1.ebuild:
 
  Version bump
 

	
 
  30 Apr 2008; Raúl Porcel <armin76@gentoo.org> nspr-4.6.8.ebuild,
 
  nspr-4.7.ebuild, nspr-4.7.1_beta2.ebuild:
 
  Add CC and CXX to make
 

	
 
  02 Apr 2008; Raúl Porcel <armin76@gentoo.org> -nspr-4.7.1_beta1.ebuild,
 
  nspr-4.7.1_beta2.ebuild:
 
  Restore keywords, remove old
 

	
 
  26 Mar 2008; Markus Meier <maekke@gentoo.org> nspr-4.6.8.ebuild:
 
  amd64 stable, bug #213601
 

	
 
  23 Mar 2008; nixnut <nixnut@gentoo.org> nspr-4.6.8.ebuild:
 
  Stable on ppc wrt bug 213601
 

	
 
  22 Mar 2008; Brent Baude <ranger@gentoo.org> nspr-4.6.8.ebuild:
 
  Marking nspr-4.6.8 ppc64 for bug 213601
 

	
 
  17 Mar 2008; Jeroen Roovers <jer@gentoo.org> nspr-4.6.8.ebuild:
 
  Stable for HPPA (bug #213601).
 

	
 
*nspr-4.7.1_beta2 (17 Mar 2008)
 

	
 
  17 Mar 2008; Raúl Porcel <armin76@gentoo.org> nspr-4.6.7.ebuild,
 
  nspr-4.6.8.ebuild, nspr-4.7.ebuild, nspr-4.7.1_beta1.ebuild,
 
  +nspr-4.7.1_beta2.ebuild:
 
  Version bump, fix LICENSE, thanks to zlin
 

	
 
  16 Mar 2008; Raúl Porcel <armin76@gentoo.org> nspr-4.6.8.ebuild:
 
  alpha/ia64/sparc/x86 stable
 

	
 
*nspr-4.7.1_beta1 (25 Feb 2008)
 

	
 
  25 Feb 2008; Raúl Porcel <armin76@gentoo.org> +nspr-4.7.1_beta1.ebuild:
 
  Version bump
 

	
 
  14 Feb 2008; Raúl Porcel <armin76@gentoo.org> nspr-4.6.7.ebuild,
 
  nspr-4.6.8.ebuild, nspr-4.7.ebuild:
 
  Fix bug #210041, bug #210039, thanks to vapier
 

	
 
*nspr-4.7 (11 Feb 2008)
 
*nspr-4.6.8 (11 Feb 2008)
 

	
 
  11 Feb 2008; Raúl Porcel <armin76@gentoo.org> +nspr-4.6.8.ebuild,
 
  +nspr-4.7.ebuild, -nspr-4.7.0_pre20080129.ebuild:
 
  Version bump
 

	
 
*nspr-4.7.0_pre20080129 (31 Jan 2008)
 

	
 
  31 Jan 2008; Raúl Porcel <armin76@gentoo.org>
 
  -nspr-4.7.0_pre20071016.ebuild, -nspr-4.7.0_pre20071218.ebuild,
 
  -nspr-4.7.0_pre20080113.ebuild, -nspr-4.7.0_pre20080120.ebuild,
 
  +nspr-4.7.0_pre20080129.ebuild:
 
  Version bump, remove old
 

	
 
*nspr-4.7.0_pre20080120 (24 Jan 2008)
 

	
 
  24 Jan 2008; Raúl Porcel <armin76@gentoo.org>
 
  +nspr-4.7.0_pre20080120.ebuild:
 
  Version bump
 

	
 
*nspr-4.7.0_pre20080113 (18 Jan 2008)
 

	
 
  18 Jan 2008; Raúl Porcel <armin76@gentoo.org>
 
  +nspr-4.7.0_pre20080113.ebuild:
 
  Version bump
 

	
 
*nspr-4.7.0_pre20071218 (22 Dec 2007)
 

	
 
  22 Dec 2007; Raúl Porcel <armin76@gentoo.org>
 
  +nspr-4.7.0_pre20071218.ebuild:
 
  Version bump
 

	
 
  18 Dec 2007; Raúl Porcel <armin76@gentoo.org> -nspr-4.6.5-r1.ebuild:
 
  old
 

	
 
  17 Dec 2007; Stuart Longland <redhatter@gentoo.org> nspr-4.6.5-r1.ebuild,
 
  nspr-4.6.7.ebuild, nspr-4.7.0_pre20071016.ebuild:
 
  Mark 4.6.7 stable on MIPS.  Fix quoting issues in all versions.
 

	
 
*nspr-4.7.0_pre20071016 (12 Dec 2007)
 

	
 
  12 Dec 2007; Raúl Porcel <armin76@gentoo.org>
 
  +files/nspr-4.7.0-prtime.patch, -nspr-4.6.6.ebuild,
 
  +nspr-4.7.0_pre20071016.ebuild:
 
  Version bump, remove old
 

	
 
  15 Aug 2007; Christoph Mende <angelos@gentoo.org> nspr-4.6.7.ebuild:
 
  Stable on amd64 wrt bug #188158
 

	
 
  14 Aug 2007; Markus Rothe <corsair@gentoo.org> nspr-4.6.7.ebuild:
 
  Stable on ppc64; bug #188158
 

	
 
  13 Aug 2007; Jeroen Roovers <jer@gentoo.org> nspr-4.6.7.ebuild:
 
  Stable for HPPA (bug #188158).
 

	
 
  09 Aug 2007; Gustavo Zacarias <gustavoz@gentoo.org> nspr-4.6.7.ebuild:
 
  Stable on sparc wrt #188158
 

	
 
  09 Aug 2007; Tobias Scherbaum <dertobi123@gentoo.org> nspr-4.6.7.ebuild:
 
  ppc stable, bug #188158
 

	
 
  08 Aug 2007; Raúl Porcel <armin76@gentoo.org> nspr-4.6.7.ebuild:
 
  alpha/ia64/x86 stable wrt #188158
 

	
 
*nspr-4.6.7 (08 Jul 2007)
 

	
 
  08 Jul 2007; Raúl Porcel <armin76@gentoo.org> +nspr-4.6.7.ebuild:
 
  Version bump
 

	
 
  20 Apr 2007; Raúl Porcel <armin76@gentoo.org>
 
  -files/nspr-4.3-amd64.patch, -files/nspr-4.4.1-hppa.patch,
 
  -files/nspr-4.4.1-ppc64.patch, -files/nspr-4.6.3-fbsd62.patch,
 
  -nspr-4.6.3.ebuild, -nspr-4.6.3-r1.ebuild, -nspr-4.6.4.ebuild,
 
  -nspr-4.6.4-r3.ebuild:
 
  Cleanup
 

	
 
  20 Apr 2007; Stuart Longland <redhatter@gentoo.org> nspr-4.6.5-r1.ebuild:
 
  Tested and marked stable on mips as per bug #169751
 

	
 
  11 Mar 2007; Bryan Østergaard <kloeri@gentoo.org> nspr-4.6.5-r1.ebuild:
 
  Stable on Alpha + IA64.
 

	
 
*nspr-4.6.6 (09 Mar 2007)
 

	
 
  09 Mar 2007; Raúl Porcel <armin76@gentoo.org> +nspr-4.6.6.ebuild:
 
  Version bump
 

	
 
  08 Mar 2007; Tobias Scherbaum <dertobi123@gentoo.org>
 
  nspr-4.6.5-r1.ebuild:
 
  Stable on ppc wrt bug #169751.
 

	
 
  08 Mar 2007; Marien Zwart <marienz@gentoo.org> Manifest:
 
  Recommit Manifest that was broken by cvs problems.
 

	
 
  08 Mar 2007; Steve Dibb <beandog@gentoo.org> nspr-4.6.3.ebuild,
 
  nspr-4.6.3-r1.ebuild, nspr-4.6.4.ebuild, nspr-4.6.4-r3.ebuild:
 
  Adding multilib to inheritance
 

	
 
  08 Mar 2007; Steve Dibb <beandog@gentoo.org> nspr-4.6.5-r1.ebuild:
 
  amd64 stable, bug 169751
 

	
 
  08 Mar 2007; Gustavo Zacarias <gustavoz@gentoo.org> nspr-4.6.5-r1.ebuild:
 
  Stable on sparc wrt #169751
 

	
 
  07 Mar 2007; Markus Rothe <corsair@gentoo.org> nspr-4.6.5-r1.ebuild:
 
  Stable on ppc64; bug #169751
 

	
 
  07 Mar 2007; Raúl Porcel <armin76@gentoo.org> nspr-4.6.5-r1.ebuild:
 
  license change, bug 150118
 

	
 
  07 Mar 2007; Jeroen Roovers <jer@gentoo.org> nspr-4.6.5-r1.ebuild:
 
  Stable for HPPA (bug #169751).
 

	
 
  07 Mar 2007; Raúl Porcel <armin76@gentoo.org> nspr-4.6.5-r1.ebuild:
 
  x86 stable wrt bug 169751
 

	
 
*nspr-4.6.5-r1 (07 Feb 2007)
 
*nspr-4.6.4-r3 (07 Feb 2007)
 

	
 
  07 Feb 2007; Raúl Porcel <armin76@gentoo.org> -nspr-4.6.4-r2.ebuild,
 
  +nspr-4.6.4-r3.ebuild, -nspr-4.6.5.ebuild, +nspr-4.6.5-r1.ebuild:
 
  Fix pkgconfig file correctly, thanks to plaes from IRC for testing this
 

	
 
*nspr-4.6.5 (07 Feb 2007)
 
*nspr-4.6.4-r2 (07 Feb 2007)
 

	
 
  07 Feb 2007; Raúl Porcel <armin76@gentoo.org>
 
  -files/nspr-4.6.4-config-2.patch, -nspr-4.6.4-r1.ebuild,
 
  +nspr-4.6.4-r2.ebuild, +nspr-4.6.5.ebuild:
 
  remove broken ebuild, bug 165542. Version bump, remove gnuconfig_update
 
  usage, bug 160184. Thanks to plaes at IRC for testing it.
 

	
 
  05 Feb 2007; Raúl Porcel <armin76@gentoo.org> -nspr-4.1.2.ebuild,
 
  -nspr-4.3.ebuild, -nspr-4.4.1.ebuild, -nspr-4.4.1-r2.ebuild,
 
  -nspr-4.6.1-r2.ebuild, -nspr-4.6.1-r3.ebuild, -nspr-4.6.2.ebuild:
 
  drop old
 

	
 
  04 Feb 2007; Alexander H. Færøy <eroyf@gentoo.org> nspr-4.6.3.ebuild:
 
  Stable on MIPS; bug #148284
 

	
 
  28 Jan 2007; Raúl Porcel <armin76@gentoo.org> metadata.xml:
 
  Move to mozilla herd, bug 160313
 

	
 
*nspr-4.6.4-r1 (05 Jan 2007)
 

	
 
  05 Jan 2007; Alon Bar-Lev <alonbl@gentoo.org>
 
  +files/nspr-4.6.4-config-2.patch, +nspr-4.6.4-r1.ebuild:
 
  Remove gnuconfig eclass usage, bug#160184
 

	
 
*nspr-4.6.4 (21 Dec 2006)
 

	
 
  21 Dec 2006; Alon Bar-Lev <alonbl@gentoo.org> +nspr-4.6.4.ebuild:
 
  Version bump, closes bug#158707, thanks to Walter Meinl
 

	
 
*nspr-4.6.3-r1 (10 Oct 2006)
 

	
 
  10 Oct 2006; Robin H. Johnson <robbat2@gentoo.org> +nspr-4.6.3-r1.ebuild:
 
  Bug #150731, use_enable debug to fix an upstream crash.
 

	
 
  27 Sep 2006; Bryan Østergaard <kloeri@gentoo.org> nspr-4.6.3.ebuild:
 
  Stable on ia64.
 

	
 
  27 Sep 2006; Fernando J. Pereda <ferdy@gentoo.org> nspr-4.6.3.ebuild:
 
  Stable on alpha wrt bug #148284
 

	
 
  26 Sep 2006; Diego Pettenò <flameeyes@gentoo.org>
 
  files/nspr-4.6.3-fbsd62.patch:
 
  Simplify patch as per upstrem bug #354305.
 

	
 
  26 Sep 2006; Diego Pettenò <flameeyes@gentoo.org>
 
  +files/nspr-4.6.3-fbsd62.patch, nspr-4.6.3.ebuild:
 
  Add patch to build on FreeBSD 6.2.
 

	
 
  21 Sep 2006; Tobias Scherbaum <dertobi123@gentoo.org> nspr-4.6.3.ebuild:
 
  hppa stable, bug #148284
 

	
 
  21 Sep 2006; Tobias Scherbaum <dertobi123@gentoo.org> nspr-4.6.3.ebuild:
 
  ppc stable, bug #148284
 

	
 
  21 Sep 2006; Gustavo Zacarias <gustavoz@gentoo.org> nspr-4.6.3.ebuild:
 
  Stable on sparc wrt security #148284
 

	
 
  20 Sep 2006; <ticho@gentoo.org> nspr-4.6.3.ebuild:
 
  Stable on x86, security bug #148284.
 

	
 
  20 Sep 2006; <blubb@gentoo.org> nspr-4.6.3.ebuild:
 
  stable on amd64 wrt bug 148284
 

	
 
  20 Sep 2006; Markus Rothe <corsair@gentoo.org> nspr-4.6.3.ebuild:
 
  Stable on ppc64; bug #148284
 

	
 
*nspr-4.6.3 (16 Sep 2006)
 

	
 
  16 Sep 2006; Stefan Schweizer <genstef@gentoo.org> +nspr-4.6.3.ebuild:
 
  version bump, security bug 147652
 

	
 
  12 Jul 2006; Aron Griffis <agriffis@gentoo.org> nspr-4.6.2.ebuild:
 
  Mark 4.6.2 stable on ia64. #134798
 

	
 
  07 Jul 2006; Diego Pettenò <flameeyes@gentoo.org> nspr-4.6.2.ebuild:
 
  Add ~x86-fbsd keyword.
 

	
 
*nspr-4.6.2 (02 Jun 2006)
 

	
 
  02 Jun 2006; Jory A. Pratt <anarchy@gentoo.org> +nspr-4.6.2.ebuild:
 
  revision bump
 

	
 
*nspr-4.6.1-r3 (23 Feb 2006)
 

	
 
  23 Feb 2006; <anarchy@gentoo.org> +files/nspr-4.6.1-prtime.patch,
 
  -nspr-4.6.1-r1.ebuild, +nspr-4.6.1-r3.ebuild:
 
  fix to prtime for sparc and other archs
 

	
 
*nspr-4.6.1-r2 (09 Feb 2006)
 

	
 
  09 Feb 2006; <anarchy@gentoo.org> +files/nspr-4.6.1-config-1.patch,
 
  +nspr-4.6.1-r2.ebuild:
 
  rpath fix/hack
 

	
 
  08 Feb 2006; <anarchy@gentoo.org> +files/nspr-4.6.1-lang.patch,
 
  nspr-4.6.1-r1.ebuild:
 
  Locales fixed thanks to vapier bug #121999
 

	
 
*nspr-4.6.1-r1 (30 Jan 2006)
 

	
 
  30 Jan 2006; <anarchy@gentoo.org> +files/nspr-4.6.1-config.patch,
 
  +files/nspr-4.6.1-gcc-visibility.patch, -nspr-4.6.1.ebuild,
 
  +nspr-4.6.1-r1.ebuild:
 
  full changes for nspr-config, revision bump
 

	
 
*nspr-4.6.1 (26 Jan 2006)
 

	
 
  26 Jan 2006; Marcelo Goes <vanquirius@gentoo.org> +files/nspr.pc.in,
 
  +metadata.xml, +nspr-4.6.1.ebuild:
 
  4.6.1 version bump for bug 120441. Added crypto as a herd.
 

	
 
  25 Sep 2005; Mike Frysinger <vapier@gentoo.org> nspr-4.4.1-r2.ebuild:
 
  Touchup ebuild and run gnuconfig #99975 by Yuri Vasilevski.
 

	
 
  22 Aug 2005; Diego Pettenò <flameeyes@gentoo.org> nspr-4.4.1-r2.ebuild:
 
  Unbreak on Gentoo/FreeBSD, use cp -R instead of cp -r (-L option is not
 
  valid with the latter).
 

	
 
  04 Feb 2005; Stephen P. Becker <geoman@gentoo.org> nspr-4.4.1-r2.ebuild:
 
  stable on mips
 

	
 
  28 Jan 2005; Joseph Jezak <josejx@gentoo.org> nspr-4.4.1-r2.ebuild:
 
  Marked ppc stable.
 

	
 
  20 Jan 2005; Aron Griffis <agriffis@gentoo.org> nspr-4.4.1-r2.ebuild:
 
  stable on ia64
 

	
 
  23 Dec 2004; Guy Martin <gmsoft@gentoo.org> nspr-4.4.1-r2.ebuild:
 
  Stable on hppa.
 

	
 
  20 Dec 2004; Bryan Østergaard <kloeri@gentoo.org> nspr-4.4.1-r2.ebuild:
 
  Stable on alpha.
 

	
 
  17 Dec 2004; Markus Rothe <corsair@gentoo.org> nspr-4.4.1-r2.ebuild:
 
  Added patch to let nss compile on ppc64
 

	
 
  17 Dec 2004; Markus Rothe <corsair@gentoo.org> nspr-4.4.1-r2.ebuild:
 
  Stable on ppc64
 

	
 
  15 Dec 2004; Gustavo Zacarias <gustavoz@gentoo.org> nspr-4.4.1-r2.ebuild:
 
  Stable on sparc
 

	
dev-libs/nspr/nspr-4.8.ebuild
Show inline comments
 
# Copyright 1999-2009 Gentoo Foundation
 
# Distributed under the terms of the GNU General Public License v2
 
# $Header: /var/cvsroot/gentoo-x86/dev-libs/nspr/nspr-4.7.4.ebuild,v 1.7 2009/05/01 14:03:12 maekke Exp $
 

	
 
inherit eutils multilib toolchain-funcs
 

	
 
DESCRIPTION="Netscape Portable Runtime"
 
HOMEPAGE="http://www.mozilla.org/projects/nspr/"
 
SRC_URI="ftp://ftp.mozilla.org/pub/mozilla.org/nspr/releases/v${PV}/src/${P}.tar.gz"
 

	
 
LICENSE="|| ( MPL-1.1 GPL-2 LGPL-2.1 )"
 
SLOT="0"
 
KEYWORDS="~amd64 ~x86"
 
KEYWORDS="~amd64 ~x86 ~ppc"
 
IUSE="ipv6 debug"
 

	
 
DEPEND=">=dev-db/sqlite-3.5"
 
RDEPEND="${DEPEND}"
 

	
 
src_unpack() {
 
	unpack ${A}
 
	cd "${S}"
 
	mkdir build inst
 
	epatch "${FILESDIR}"/${PN}-4.6.1-config.patch
 
	epatch "${FILESDIR}"/${PN}-4.6.1-config-1.patch
 
	epatch "${FILESDIR}"/${PN}-4.6.1-lang.patch
 
	epatch "${FILESDIR}"/${PN}-4.7.0-prtime.patch
 

	
 
	# Respect LDFLAGS
 
	sed -i -e 's/\$(MKSHLIB) \$(OBJS)/\$(MKSHLIB) \$(LDFLAGS) \$(OBJS)/g' \
 
		mozilla/nsprpub/config/rules.mk
 
}
 

	
 
src_compile() {
 
	cd "${S}"/build
 

	
 
	echo > "${T}"/test.c
 
	$(tc-getCC) -c "${T}"/test.c -o "${T}"/test.o
 
	case $(file "${T}"/test.o) in
 
		*64-bit*) myconf="${myconf} --enable-64bit";;
 
		*32-bit*) ;;
 
		*) die "Failed to detect whether your arch is 64bits or 32bits, disable distcc if you're using it, please";;
 
	esac
 

	
 
	if use ipv6; then
 
		myconf="${myconf} --enable-ipv6"
 
	fi
 

	
 
	myconf="${myconf} --libdir=/usr/$(get_libdir)/nspr \
 
		--enable-system-sqlite"
 

	
 
	ECONF_SOURCE="../mozilla/nsprpub" econf \
 
		$(use_enable debug) \
 
		${myconf} || die "econf failed"
 
	make CC="$(tc-getCC)" CXX="$(tc-getCXX)" || die
 
}
 

	
 
src_install () {
 
	# Their build system is royally fucked, as usual
 
	MINOR_VERSION=7
 
	cd "${S}"/build
 
	emake DESTDIR="${D}" install || die "emake install failed"
 

	
 
	cd "${D}"/usr/$(get_libdir)/nspr
 
	for file in *.so; do
 
		mv ${file} ${file}.${MINOR_VERSION}
 
		ln -s ${file}.${MINOR_VERSION} ${file}
 
	done
 
	# cope with libraries being in /usr/lib/nspr
 
	dodir /etc/env.d
 
	echo "LDPATH=/usr/$(get_libdir)/nspr" > "${D}/etc/env.d/08nspr"
 

	
 
	# install nspr-config
 
	dobin "${S}"/build/config/nspr-config
 

	
 
	# create pkg-config file
 
	insinto /usr/$(get_libdir)/pkgconfig/
 
	doins "${S}"/build/config/nspr.pc
 

	
 
	# Remove stupid files in /usr/bin
 
	rm "${D}"/usr/bin/{prerr.properties,nspr.pc}
 
}
 

	
 
pkg_preinst() {
 
	preserve_old_lib /usr/$(get_libdir)/nspr/lib{nspr,plc,plds}4.so.6
 
}
 

	
 
pkg_postinst() {
 
	preserve_old_lib_notify /usr/$(get_libdir)/nspr/lib{nspr,plc,plds}4.so.6
 
}
0 comments (0 inline, 0 general)