Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 157521
Collapse All | Expand All

(-)picptk-0.5a-r1.ebuild.orig (-12 / +9 lines)
Lines 1-6 Link Here
1
# Copyright 1999-2006 Gentoo Foundation
1
# Copyright 1999-2006 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-embedded/picptk/picptk-0.5a-r1.ebuild,v 1.1 2006/02/25 11:46:50 robbat2 Exp $
3
# $Header: $
4
5
WANT_AUTOMAKE="1.4"
6
WANT_AUTOCONF="latest"
4
7
5
inherit eutils flag-o-matic autotools
8
inherit eutils flag-o-matic autotools
6
9
Lines 17-39 Link Here
17
RDEPEND="=dev-tcltk/itk-3.3*
20
RDEPEND="=dev-tcltk/itk-3.3*
18
		 dev-tcltk/iwidgets
21
		 dev-tcltk/iwidgets
19
		dev-tcltk/itcl"
22
		dev-tcltk/itcl"
20
DEPEND="${RDEPEND}
23
DEPEND="${RDEPEND}"
21
	sys-devel/gcc
22
	sys-devel/automake
23
	sys-devel/autoconf"
24
24
25
src_unpack() {
25
src_unpack() {
26
	unpack ${A}
26
	unpack ${A}
27
	epatch ${FILESDIR}/${PF}-headerfix.patch
27
	epatch "${FILESDIR}"/${PF}-headerfix.patch
28
	epatch ${FILESDIR}/${PF}-gccfixes.patch
28
	epatch "${FILESDIR}"/${PF}-gccfixes.patch
29
	cd ${S}
29
	cd "${S}"
30
	export WANT_AUTOMAKE=1.4
31
	export WANT_AUTOCONF=2.1
32
	sed -i.orig -e '49,53d' \
30
	sed -i.orig -e '49,53d' \
33
		-e 's/AM_PROG_INSTALL/AC_PROG_INSTALL/g' \
31
		-e 's/AM_PROG_INSTALL/AC_PROG_INSTALL/g' \
34
		${S}/aclocal.m4 || die "sed failed"
32
		${S}/aclocal.m4 || die "sed failed"
35
	eautoconf || die "autoconf failed"
33
	eautoreconf || die "autoreconf failed"
36
	eautomake || die "automake failed"
37
}
34
}
38
35
39
src_install() {
36
src_install() {

Return to bug 157521