Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 242218 | Differences between
and this patch

Collapse All | Expand All

(-)/usr/portage/dev-libs/xalan-c/xalan-c-1.10.0.ebuild (-12 / +3 lines)
Lines 1-16 Link Here
1
# Copyright 1999-2008 Gentoo Foundation
1
# Copyright 1999-2008 Gentoo Foundation
2
# Distributed under the terms of the GNU General Public License v2
2
# Distributed under the terms of the GNU General Public License v2
3
# $Header: /var/cvsroot/gentoo-x86/dev-libs/xalan-c/xalan-c-1.10.0.ebuild,v 1.13 2008/08/09 09:36:08 dev-zero Exp $
3
# $Header$
4
4
5
inherit toolchain-funcs eutils flag-o-matic multilib
5
inherit toolchain-funcs eutils flag-o-matic multilib
6
6
7
MY_PV=${PV//./_}
8
9
DESCRIPTION="XSLT processor for transforming XML into HTML, text, or other XML types"
7
DESCRIPTION="XSLT processor for transforming XML into HTML, text, or other XML types"
10
HOMEPAGE="http://xml.apache.org/xalan-c/"
8
HOMEPAGE="http://xml.apache.org/xalan-c/"
11
SRC_URI="ftp://apache.mirrors.pair.com/xml/xalan-c/Xalan-C_${MY_PV}-src.tar.gz
9
SRC_URI="mirror://gentoo/Xalan-C_r${PV#*_pre}-src.tar.gz"
12
	http://apache.mirrors.hoobly.com/xml/xalan-c/Xalan-C_${MY_PV}-src.tar.gz
13
	http://www.tux.org/pub/net/apache/dist/xml/xalan-c/Xalan-C_${MY_PV}-src.tar.gz"
14
10
15
LICENSE="Apache-2.0"
11
LICENSE="Apache-2.0"
16
SLOT="0"
12
SLOT="0"
Lines 26-39 Link Here
26
src_unpack() {
22
src_unpack() {
27
	unpack ${A}
23
	unpack ${A}
28
	cd "${S}"
24
	cd "${S}"
29
	# https://issues.apache.org/jira/browse/XALANC-643
30
	epatch "${FILESDIR}/1.10.0-as-needed.patch"
31
	epatch "${FILESDIR}/${P}+gcc-4.3.patch"
32
33
	chmod a+r $(find . -type f)
34
	chmod a+rx $(find . -type d)
35
25
36
	sed -i \
26
	sed -i \
27
		-e 's/\(debugflag\)="-O.\? /\1="/' \
37
		-e 's/^\(CXXFLAGS\)="$compileroptions/\1="${\1}/' \
28
		-e 's/^\(CXXFLAGS\)="$compileroptions/\1="${\1}/' \
38
		-e 's/^\(CFLAGS\)="$compileroptions/\1="${\1}/' \
29
		-e 's/^\(CFLAGS\)="$compileroptions/\1="${\1}/' \
39
		runConfigure || die "sed failed"
30
		runConfigure || die "sed failed"

Return to bug 242218