Skip to content

Commit

Permalink
dev-libs/nspr-4.10.8: fix SRC_URI and rename configure.in to configur…
Browse files Browse the repository at this point in the history
…e.ac

Package-Manager: portage-2.2.20.1
  • Loading branch information
axs-gentoo committed Aug 28, 2015
1 parent c83c005 commit 7e80905
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion dev-libs/nspr/nspr-4.10.8.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand All @@ -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

Expand Down

0 comments on commit 7e80905

Please sign in to comment.