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

Collapse All | Expand All

(-)/usr/portage/app-misc/graphlcd-base/graphlcd-base-0.1.3.ebuild (-10 / +5 lines)
Lines 5-11 Link Here
5
inherit eutils flag-o-matic
5
inherit eutils flag-o-matic
6
6
7
DESCRIPTION="Graphical LCD Driver"
7
DESCRIPTION="Graphical LCD Driver"
8
HOMEPAGE="http://www.powarman.de"
8
HOMEPAGE="http://graphlcd.berlios.de/"
9
SRC_URI="http://download.berlios.de/graphlcd/${P}.tgz"
9
SRC_URI="http://download.berlios.de/graphlcd/${P}.tgz"
10
10
11
KEYWORDS="~amd64 ~ppc64 x86"
11
KEYWORDS="~amd64 ~ppc64 x86"
Lines 13-21 Link Here
13
LICENSE="GPL-2"
13
LICENSE="GPL-2"
14
IUSE="truetype"
14
IUSE="truetype"
15
15
16
DEPEND="truetype? ( media-libs/freetype
16
RDEPEND="truetype? ( media-libs/freetype
17
		media-fonts/corefonts )"
17
		media-fonts/corefonts )"
18
18
DEPEND="${RDEPEND} sys-apps/sed"
19
19
20
src_unpack() {
20
src_unpack() {
21
21
Lines 23-40 Link Here
23
	cd ${S}
23
	cd ${S}
24
24
25
	use !truetype && sed -i "s:HAVE_FREETYPE2:#HAVE_FREETYPE2:" Make.config
25
	use !truetype && sed -i "s:HAVE_FREETYPE2:#HAVE_FREETYPE2:" Make.config
26
27
	sed -i Make.config -e "s:usr\/local:usr:" -e "s:FLAGS *=:FLAGS ?=:"
26
	sed -i Make.config -e "s:usr\/local:usr:" -e "s:FLAGS *=:FLAGS ?=:"
27
	epatch "${FILESDIR}/${P}-nostrip.patch"
28
}
28
}
29
29
30
src_compile() {
30
src_compile() {
31
31
32
	# Change CFLAGS for amd64 which needs -fPIC in plugins
32
	append-flags -fPIC
33
	if [[ "${ARCH}" == "amd64" ]]; then
34
		ebegin "Adding -fPIC to CXXFLAGS for amd64"
35
		append-flags -fPIC
36
		eend 0
37
	fi
38
33
39
	emake || die "emake failed"
34
	emake || die "emake failed"
40
}
35
}

Return to bug 149798