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

Collapse All | Expand All

(-)/usr/portage/app-admin/gkrellm/gkrellm-2.2.7.ebuild (-4 / +10 lines)
Lines 11-20 Link Here
11
LICENSE="GPL-2"
11
LICENSE="GPL-2"
12
SLOT="2"
12
SLOT="2"
13
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86"
13
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86"
14
IUSE="X nls ssl"
14
IUSE="X nls ssl gnutls"
15
15
16
DEPEND="=dev-libs/glib-1*
16
DEPEND="=dev-libs/glib-1*
17
	ssl? ( dev-libs/openssl )
17
	ssl? ( dev-libs/openssl )
18
	gnutls? ( net-libs/gnutls
19
			dev-libs/libgcrypt)
18
	X? ( >=x11-libs/gtk+-2.0.5
20
	X? ( >=x11-libs/gtk+-2.0.5
19
		>=x11-libs/pango-1.4.0 )"
21
		>=x11-libs/pango-1.4.0 )"
20
RDEPEND="${DEPEND}
22
RDEPEND="${DEPEND}
Lines 23-28 Link Here
23
S=${WORKDIR}/${P/a/}
25
S=${WORKDIR}/${P/a/}
24
26
25
src_compile() {
27
src_compile() {
28
	epatch  ${FILESDIR}/gkrellm-configure.patch
29
	epatch  ${FILESDIR}/gkrellm-mail.patch
26
	local myconf
30
	local myconf
27
	if ! use nls; then
31
	if ! use nls; then
28
		sed -i "s:enable_nls=1:enable_nls=0:" Makefile || die
32
		sed -i "s:enable_nls=1:enable_nls=0:" Makefile || die
Lines 37-46 Link Here
37
		src/gkrellm.h || die
41
		src/gkrellm.h || die
38
42
39
	if use X
43
	if use X
40
	then
44
	then	
41
	use ssl || myconf="without-ssl=yes"
45
		use gnutls || myconf="without-gnutls=yes"
46
		use ssl || myconf="without-gnutls without-ssl=yes"
47
		
42
		PREFIX=/usr emake ${myconf} || die
48
		PREFIX=/usr emake ${myconf} || die
43
	else
49
		else
44
		cd ${S}/server
50
		cd ${S}/server
45
		emake glib12=1 || die
51
		emake glib12=1 || die
46
	fi
52
	fi

Return to bug 93211