From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <gentoo-commits+bounces-831075-garchives=archives.gentoo.org@lists.gentoo.org>
Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80])
	by finch.gentoo.org (Postfix) with ESMTP id 2C0E71384C2
	for <garchives@archives.gentoo.org>; Fri, 28 Aug 2015 20:35:54 +0000 (UTC)
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id 63DC714306;
	Fri, 28 Aug 2015 20:35:52 +0000 (UTC)
Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183])
	(using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits))
	(No client certificate requested)
	by pigeon.gentoo.org (Postfix) with ESMTPS id 775AE14306
	for <gentoo-commits@lists.gentoo.org>; Fri, 28 Aug 2015 20:35:51 +0000 (UTC)
Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84])
	(using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits))
	(No client certificate requested)
	by smtp.gentoo.org (Postfix) with ESMTPS id 9DC1E340B6C
	for <gentoo-commits@lists.gentoo.org>; Fri, 28 Aug 2015 20:35:50 +0000 (UTC)
Received: from localhost.localdomain (localhost [127.0.0.1])
	by oystercatcher.gentoo.org (Postfix) with ESMTP id 2EC5A165
	for <gentoo-commits@lists.gentoo.org>; Fri, 28 Aug 2015 20:35:48 +0000 (UTC)
From: "Ian Stakenvicius" <axs@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Content-Transfer-Encoding: 8bit
Content-type: text/plain; charset=UTF-8
Reply-To: gentoo-dev@lists.gentoo.org, "Ian Stakenvicius" <axs@gentoo.org>
Message-ID: <1440794082.7e80905729432b95c5f1bafa8a6dc7d4d44cd0d7.axs@gentoo>
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-libs/nspr/
X-VCS-Repository: repo/gentoo
X-VCS-Files: dev-libs/nspr/nspr-4.10.8.ebuild
X-VCS-Directories: dev-libs/nspr/
X-VCS-Committer: axs
X-VCS-Committer-Name: Ian Stakenvicius
X-VCS-Revision: 7e80905729432b95c5f1bafa8a6dc7d4d44cd0d7
X-VCS-Branch: master
Date: Fri, 28 Aug 2015 20:35:48 +0000 (UTC)
Precedence: bulk
List-Post: <mailto:gentoo-commits@lists.gentoo.org>
List-Help: <mailto:gentoo-commits+help@lists.gentoo.org>
List-Unsubscribe: <mailto:gentoo-commits+unsubscribe@lists.gentoo.org>
List-Subscribe: <mailto:gentoo-commits+subscribe@lists.gentoo.org>
List-Id: Gentoo Linux mail <gentoo-commits.gentoo.org>
X-BeenThere: gentoo-commits@lists.gentoo.org
X-Archives-Salt: fe3e1d48-6bb2-4e94-ad86-df87a5fef1c1
X-Archives-Hash: 0a207e8fa02619148b455316a2d6206f

commit:     7e80905729432b95c5f1bafa8a6dc7d4d44cd0d7
Author:     Ian Stakenvicius <axs <AT> gentoo <DOT> org>
AuthorDate: Mon Aug 24 19:09:53 2015 +0000
Commit:     Ian Stakenvicius <axs <AT> gentoo <DOT> org>
CommitDate: Fri Aug 28 20:34:42 2015 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7e809057

dev-libs/nspr-4.10.8: fix SRC_URI and rename configure.in to configure.ac

Package-Manager: portage-2.2.20.1

 dev-libs/nspr/nspr-4.10.8.ebuild | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

diff --git a/dev-libs/nspr/nspr-4.10.8.ebuild b/dev-libs/nspr/nspr-4.10.8.ebuild
index 773f049..b452f54 100644
--- a/dev-libs/nspr/nspr-4.10.8.ebuild
+++ b/dev-libs/nspr/nspr-4.10.8.ebuild
@@ -11,7 +11,7 @@ MIN_PV="$(get_version_component_range 2)"
 
 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"
+SRC_URI="http://archive.mozilla.org/pub/mozilla.org/nspr/releases/v${PV}/src/${P}.tar.gz"
 
 LICENSE="|| ( MPL-2.0 GPL-2 LGPL-2.1 )"
 SLOT="0"
@@ -38,6 +38,11 @@ src_prepare() {
 	# We do not need to pass -L$libdir via nspr-config --libs
 	epatch "${FILESDIR}"/${PN}-4.9.5_nspr_config.patch
 
+	# rename configure.in to configure.ac for new autotools compatibility
+	if [[ -e "${S}"/nspr/configure.in ]] ; then
+		einfo "Renaming configure.in to configure.ac"
+		mv "${S}"/nspr/configure.{in,ac} || die
+	fi
 	# We must run eautoconf to regenerate configure
 	eautoconf