Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 220263 Details for
Bug 277697
dev-lang/spidermonkey add UTF-8 support
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
Simpler method of enabling UTF8 strings
spidermonkey-1.7.0-r1.ebuild (text/plain), 1.38 KB, created by
Brandon Bergren
on 2010-02-19 04:22:06 UTC
(
hide
)
Description:
Simpler method of enabling UTF8 strings
Filename:
MIME Type:
Creator:
Brandon Bergren
Created:
2010-02-19 04:22:06 UTC
Size:
1.38 KB
patch
obsolete
># Copyright 1999-2010 Gentoo Foundation ># Distributed under the terms of the GNU General Public License v2 ># $Header: $ > >inherit eutils toolchain-funcs multilib flag-o-matic > >MY_P="js-${PV}" >DESCRIPTION="Stand-alone JavaScript C library" >HOMEPAGE="http://www.mozilla.org/js/spidermonkey/" >SRC_URI="ftp://ftp.mozilla.org/pub/mozilla.org/js/${MY_P}.tar.gz" > >LICENSE="NPL-1.1" >SLOT="0" >KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd" >IUSE="threadsafe unicode" > >S="${WORKDIR}/js/src" > >RDEPEND="threadsafe? ( dev-libs/nspr )" > >DEPEND="${RDEPEND}" > >src_unpack() { > unpack ${A} > cd "${S}" > epatch "${FILESDIR}/${PN}-1.5-build.patch" > epatch "${FILESDIR}/${PN}-1.6-header.patch" > epatch "${FILESDIR}/${P}-threadsafe.diff" > if [[ ${CHOST} == *-freebsd* ]]; then > # Don't try to be smart, this does not work in cross-compile anyway > ln -s "${S}/config/Linux_All.mk" "${S}/config/$(uname -s)$(uname -r).mk" > fi >} > >src_compile() { > use unicode && append-flags "-DJS_C_STRINGS_ARE_UTF8" > tc-export CC LD AR > if use threadsafe; then > emake -j1 -f Makefile.ref LIBDIR="$(get_libdir)" JS_THREADSAFE=1 \ > || die "emake with threadsafe enabled failed"; > else > emake -j1 -f Makefile.ref LIBDIR="$(get_libdir)" \ > || die "emake without threadsafe enabled failed"; > fi >} > >src_install() { > emake -f Makefile.ref install DESTDIR="${D}" LIBDIR="$(get_libdir)" || die > dodoc ../jsd/README > dohtml README.html >}
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 277697
:
197829
|
197831
| 220263