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

Collapse All | Expand All

(-)rxvt-unicode-9.02-r1.ebuild.orig (-1 / +11 lines)
Lines 11-17 Link Here
11
LICENSE="GPL-2"
11
LICENSE="GPL-2"
12
SLOT="0"
12
SLOT="0"
13
KEYWORDS="alpha amd64 hppa ~ia64 ppc ppc64 sparc x86 ~x86-fbsd"
13
KEYWORDS="alpha amd64 hppa ~ia64 ppc ppc64 sparc x86 ~x86-fbsd"
14
IUSE="truetype perl iso14755"
14
IUSE="truetype perl iso14755 singlelinescroll"
15
15
16
# see bug #115992 for modular x deps
16
# see bug #115992 for modular x deps
17
RDEPEND="x11-libs/libX11
17
RDEPEND="x11-libs/libX11
Lines 23-28 Link Here
23
	dev-util/pkgconfig
23
	dev-util/pkgconfig
24
	x11-proto/xproto"
24
	x11-proto/xproto"
25
25
26
pkg_setup() {
27
	if use singlelinescroll && use perl; then
28
		die "You can not have both perl and singlelinescroll enabled.";
29
	fi
30
}
31
26
src_unpack() {
32
src_unpack() {
27
	unpack ${A}
33
	unpack ${A}
28
	cd "${S}"
34
	cd "${S}"
Lines 34-39 Link Here
34
	sed -i -e \
40
	sed -i -e \
35
		"s~@TIC@ \(\$(srcdir)/etc/rxvt\)~@TIC@ -o ${D}/${tdir} \1~" \
41
		"s~@TIC@ \(\$(srcdir)/etc/rxvt\)~@TIC@ -o ${D}/${tdir} \1~" \
36
		doc/Makefile.in
42
		doc/Makefile.in
43
	
44
	if use singlelinescroll; then
45
		epatch ${FILESDIR}/scrolling-one-line.patch;
46
	fi
37
}
47
}
38
48
39
src_compile() {
49
src_compile() {

Return to bug 220817