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

(-)a/dev-embedded/gpsim/gpsim-0.26.1.ebuild (-2 / +8 lines)
Lines 3-9 Link Here
3
# $Id$
3
# $Id$
4
4
5
EAPI=4
5
EAPI=4
6
inherit autotools eutils
6
inherit autotools toolchain-funcs eutils
7
7
8
DESCRIPTION="A simulator for the Microchip PIC microcontrollers"
8
DESCRIPTION="A simulator for the Microchip PIC microcontrollers"
9
HOMEPAGE="http://gpsim.sourceforge.net"
9
HOMEPAGE="http://gpsim.sourceforge.net"
Lines 27-41 Link Here
27
27
28
DOCS="ANNOUNCE AUTHORS ChangeLog HISTORY PROCESSORS README README.MODULES TODO"
28
DOCS="ANNOUNCE AUTHORS ChangeLog HISTORY PROCESSORS README README.MODULES TODO"
29
29
30
30
src_prepare() {
31
src_prepare() {
31
	epatch \
32
	epatch \
32
		"${FILESDIR}"/${P}-glib-single-include.patch \
33
		"${FILESDIR}"/${P}-glib-single-include.patch \
33
		"${FILESDIR}"/${P}-gtkextra.patch
34
		"${FILESDIR}"/${P}-gtkextra.patch
34
35
35
		eautoreconf
36
	sed -i '/AM_LDFLAGS/s/ -Wl,-warn-once//' \
37
		"${S}"/configure.ac || die
38
39
	eautoreconf
36
}
40
}
37
41
38
src_configure() {
42
src_configure() {
43
	tc-ld-disable-gold
44
	LD="$(tc-getLD)" LDFLAGS="${LDFLAGS}" \
39
	econf \
45
	econf \
40
		$(use_enable gtk gui) \
46
		$(use_enable gtk gui) \
41
		$(use_enable static-libs static)
47
		$(use_enable static-libs static)

Return to bug 536442