mirror of
https://github.com/flatcar/scripts.git
synced 2025-08-15 17:06:58 +02:00
dev-libs/nspr: Sync with gentoo
It's from gentoo commit a07107453890b58dab9b02e0b97f0b0367dc248a.
This commit is contained in:
parent
692b25bf62
commit
ce52b415ff
@ -1 +1 @@
|
|||||||
DIST nspr-4.25.tar.gz 1079633 BLAKE2B 377e5ec0e60cca13f1ee988adb10870bbb6cb9e4eb61e4434152418d4f8d446741a192d7019298ec2669b8e190cacb6a1ca9c4b2838e9b14dd3590ed40facdd2 SHA512 b9aa576e0da37e8729088fe559d94030cf18f277c1f7a30104d3088a804913343ed884645c0adb62144da475e20934b359f897bf3ae9a6ebb5f9daf283d5a562
|
DIST nspr-4.33.tar.gz 1078948 BLAKE2B b46e1c02ab7e5c442288a2cba2868166adb9461950d35fcd76074e3340734057f2b1bbeb3c700f38edf3710323ffd34576dd644814c379033de2a380c54d4fe3 SHA512 8064f826c977f1302a341ca7a7aaf7977b5d10102062c030b1d42b856638e3408ab262447e8c7cfd5a98879b9b1043d17ceae66fbb1e5ed86d6bc3531f26667e
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8"?>
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
|
||||||
<pkgmetadata>
|
<pkgmetadata>
|
||||||
<maintainer type="project">
|
<maintainer type="project">
|
||||||
<email>mozilla@gentoo.org</email>
|
<email>mozilla@gentoo.org</email>
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
# Copyright 1999-2020 Gentoo Authors
|
# Copyright 1999-2022 Gentoo Authors
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
EAPI=7
|
EAPI=7
|
||||||
@ -8,13 +8,13 @@ inherit autotools toolchain-funcs multilib-minimal
|
|||||||
MIN_PV="$(ver_cut 2)"
|
MIN_PV="$(ver_cut 2)"
|
||||||
|
|
||||||
DESCRIPTION="Netscape Portable Runtime"
|
DESCRIPTION="Netscape Portable Runtime"
|
||||||
HOMEPAGE="http://www.mozilla.org/projects/nspr/"
|
HOMEPAGE="https://www.mozilla.org/projects/nspr/"
|
||||||
SRC_URI="https://archive.mozilla.org/pub/nspr/releases/v${PV}/src/${P}.tar.gz"
|
SRC_URI="https://archive.mozilla.org/pub/nspr/releases/v${PV}/src/${P}.tar.gz"
|
||||||
|
|
||||||
LICENSE="|| ( MPL-2.0 GPL-2 LGPL-2.1 )"
|
LICENSE="|| ( MPL-2.0 GPL-2 LGPL-2.1 )"
|
||||||
SLOT="0"
|
SLOT="0"
|
||||||
KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~m68k ~mips ppc ppc64 ~riscv s390 sparc x86 ~ppc-aix ~amd64-linux ~x86-linux ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris"
|
KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~x64-macos ~x64-solaris ~x86-solaris"
|
||||||
IUSE="debug elibc_musl"
|
IUSE="debug"
|
||||||
|
|
||||||
MULTILIB_CHOST_TOOLS=(
|
MULTILIB_CHOST_TOOLS=(
|
||||||
/usr/bin/nspr-config
|
/usr/bin/nspr-config
|
||||||
@ -60,7 +60,7 @@ multilib_src_configure() {
|
|||||||
# We use the standard BUILD_xxx but nspr uses HOST_xxx
|
# We use the standard BUILD_xxx but nspr uses HOST_xxx
|
||||||
tc-export_build_env BUILD_CC
|
tc-export_build_env BUILD_CC
|
||||||
export HOST_CC=${BUILD_CC} HOST_CFLAGS=${BUILD_CFLAGS} HOST_LDFLAGS=${BUILD_LDFLAGS}
|
export HOST_CC=${BUILD_CC} HOST_CFLAGS=${BUILD_CFLAGS} HOST_LDFLAGS=${BUILD_LDFLAGS}
|
||||||
tc-export AR CC CXX RANLIB
|
tc-export AR AS CC CXX RANLIB
|
||||||
[[ ${CBUILD} != ${CHOST} ]] \
|
[[ ${CBUILD} != ${CHOST} ]] \
|
||||||
&& export CROSS_COMPILE=1 \
|
&& export CROSS_COMPILE=1 \
|
||||||
|| unset CROSS_COMPILE
|
|| unset CROSS_COMPILE
|
||||||
@ -98,6 +98,7 @@ multilib_src_configure() {
|
|||||||
# Ancient autoconf needs help finding the right tools.
|
# Ancient autoconf needs help finding the right tools.
|
||||||
LC_ALL="C" ECONF_SOURCE="${S}/nspr" \
|
LC_ALL="C" ECONF_SOURCE="${S}/nspr" \
|
||||||
ac_cv_path_AR="${AR}" \
|
ac_cv_path_AR="${AR}" \
|
||||||
|
ac_cv_path_AS="${AS}" \
|
||||||
econf "${myconf[@]}"
|
econf "${myconf[@]}"
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user