1 |
commit: 7e80905729432b95c5f1bafa8a6dc7d4d44cd0d7 |
2 |
Author: Ian Stakenvicius <axs <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon Aug 24 19:09:53 2015 +0000 |
4 |
Commit: Ian Stakenvicius <axs <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Aug 28 20:34:42 2015 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7e809057 |
7 |
|
8 |
dev-libs/nspr-4.10.8: fix SRC_URI and rename configure.in to configure.ac |
9 |
|
10 |
Package-Manager: portage-2.2.20.1 |
11 |
|
12 |
dev-libs/nspr/nspr-4.10.8.ebuild | 7 ++++++- |
13 |
1 file changed, 6 insertions(+), 1 deletion(-) |
14 |
|
15 |
diff --git a/dev-libs/nspr/nspr-4.10.8.ebuild b/dev-libs/nspr/nspr-4.10.8.ebuild |
16 |
index 773f049..b452f54 100644 |
17 |
--- a/dev-libs/nspr/nspr-4.10.8.ebuild |
18 |
+++ b/dev-libs/nspr/nspr-4.10.8.ebuild |
19 |
@@ -11,7 +11,7 @@ MIN_PV="$(get_version_component_range 2)" |
20 |
|
21 |
DESCRIPTION="Netscape Portable Runtime" |
22 |
HOMEPAGE="http://www.mozilla.org/projects/nspr/" |
23 |
-SRC_URI="ftp://ftp.mozilla.org/pub/mozilla.org/nspr/releases/v${PV}/src/${P}.tar.gz" |
24 |
+SRC_URI="http://archive.mozilla.org/pub/mozilla.org/nspr/releases/v${PV}/src/${P}.tar.gz" |
25 |
|
26 |
LICENSE="|| ( MPL-2.0 GPL-2 LGPL-2.1 )" |
27 |
SLOT="0" |
28 |
@@ -38,6 +38,11 @@ src_prepare() { |
29 |
# We do not need to pass -L$libdir via nspr-config --libs |
30 |
epatch "${FILESDIR}"/${PN}-4.9.5_nspr_config.patch |
31 |
|
32 |
+ # rename configure.in to configure.ac for new autotools compatibility |
33 |
+ if [[ -e "${S}"/nspr/configure.in ]] ; then |
34 |
+ einfo "Renaming configure.in to configure.ac" |
35 |
+ mv "${S}"/nspr/configure.{in,ac} || die |
36 |
+ fi |
37 |
# We must run eautoconf to regenerate configure |
38 |
eautoconf |