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
 

	
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"
0 comments (0 inline, 0 general)