Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 273979 Details for
Bug 306655
dev-libs/expat: need unicode/wide-unicode versions of the library
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
expat-2.0.1-r3.ebuild.diff
expat-2.0.1-r3.ebuild.diff (text/plain), 1.77 KB, created by
Gilles Dartiguelongue (RETIRED)
on 2011-05-19 14:06:57 UTC
(
hide
)
Description:
expat-2.0.1-r3.ebuild.diff
Filename:
MIME Type:
Creator:
Gilles Dartiguelongue (RETIRED)
Created:
2011-05-19 14:06:57 UTC
Size:
1.77 KB
patch
obsolete
>--- expat-2.0.1-r3.ebuild 2010-03-10 22:44:00.000000000 +0100 >+++ expat-2.0.1-r4.ebuild 2011-05-19 16:00:53.000000000 +0200 >@@ -2,7 +2,7 @@ > # Distributed under the terms of the GNU General Public License v2 > # $Header: /var/cvsroot/gentoo-x86/dev-libs/expat/expat-2.0.1-r3.ebuild,v 1.8 2010/03/09 22:04:59 josejx Exp $ > >-inherit eutils libtool >+inherit eutils flag-o-matic libtool > > DESCRIPTION="XML parsing libraries" > HOMEPAGE="http://expat.sourceforge.net/" >@@ -10,8 +10,13 @@ > > LICENSE="MIT" > SLOT="0" >-KEYWORDS="alpha amd64 arm hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc x86 ~sparc-fbsd ~x86-fbsd" >-IUSE="" >+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~sparc-fbsd ~x86-fbsd" >+IUSE="examples" >+ >+# Maintainer notes: >+# Build all variants of expat to allow unbundling in other packages, bug #306655 >+# XML_UNICODE and/or XML_UNICODE_WCHAR_T don't get recorded in the expat headers >+ > > src_unpack() { > unpack ${A} >@@ -25,10 +30,39 @@ > > elibtoolize > epunt_cxx >+ >+ mkdir "${S}.unicode" || die >+ mkdir "${S}.wide-unicode" || die >+} >+ >+src_compile() { >+ econf >+ emake || die >+ >+ cd "${S}.unicode" >+ append-cppflags "-DXML_UNICODE" >+ ECONF_SOURCE="${S}" econf >+ emake buildlib LIBRARY="libexpatu.la" || die >+ >+ cd "${S}.wide-unicode" >+ append-cppflags "-UXML_UNICODE -DXML_UNICODE_WCHAR_T" >+ ECONF_SOURCE="${S}" econf >+ emake buildlib LIBRARY="libexpatw.la" || die > } > > src_install() { > emake install DESTDIR="${D}" || die >+ cd "${S}.unicode" >+ emake installlib DESTDIR="${D}" LIBRARY="libexpatu.la" || die >+ cd "${S}.wide-unicode" >+ emake installlib DESTDIR="${D}" LIBRARY="libexpatw.la" || die >+ >+ cd "${S}" > dodoc Changes README || die > dohtml doc/* || die >+ >+ if use examples; then >+ insinto /usr/share/doc/${PF}/examples >+ doins -r examples/*.c >+ fi > }
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 Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 306655
: 273979