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

Collapse All | Expand All

(-)dev-lang/pcc/pcc-1.1.0-r1.ebuild (-9 / +10 lines)
Lines 9-30 Link Here
9
DESCRIPTION="pcc portable c compiler"
9
DESCRIPTION="pcc portable c compiler"
10
HOMEPAGE="http://pcc.ludd.ltu.se"
10
HOMEPAGE="http://pcc.ludd.ltu.se"
11
11
12
SRC_URI="ftp://pcc.ludd.ltu.se/pub/pcc-releases/${P}.tgz"
12
if [[ ${PV} = 9999 ]]; then
13
	inherit cvs
14
	ECVS_SERVER="pcc.ludd.ltu.se:/cvsroot"
15
	ECVS_MODULE="${PN}"
16
	KEYWORDS=""
17
	S="${WORKDIR}/${PN}"
18
else
19
	SRC_URI="ftp://pcc.ludd.ltu.se/pub/pcc-releases/${P}.tgz"
20
	KEYWORDS="~x86 ~amd64 ~amd64-fbsd"
21
fi
13
22
14
LICENSE="BSD"
23
LICENSE="BSD"
15
SLOT="0"
24
SLOT="0"
16
KEYWORDS="~x86 ~amd64 ~amd64-fbsd"
17
IUSE=""
25
IUSE=""
18
DEPEND=">=dev-libs/pcc-libs-${PV}"
26
DEPEND=">=dev-libs/pcc-libs-${PV}"
19
RDEPEND="${DEPEND}"
27
RDEPEND="${DEPEND}"
20
28
21
src_prepare() {
22
	sed -i -e 's/AC_CHECK_PROG(strip,strip,yes,no)//' configure.ac || die "Failed to fix configure.ac"
23
	sed -i -e 's/AC_SUBST(strip)//' configure.ac || die "Failed to fix configure.ac more"
24
	eautoreconf
25
	epatch "${FILESDIR}/${P}-multiarch.patch" || die
26
}
27
28
src_configure() {
29
src_configure() {
29
	econf --disable-stripping
30
	econf --disable-stripping
30
}
31
}

Return to bug 549204