mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-08-05 12:38:09 -07:00
dev-libs/nspr-4.10.8: fix SRC_URI and rename configure.in to configure.ac
Package-Manager: portage-2.2.20.1
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user