Lines 12-18
Link Here
|
12 |
LICENSE="GPL-2" |
12 |
LICENSE="GPL-2" |
13 |
SLOT="0" |
13 |
SLOT="0" |
14 |
KEYWORDS="alpha amd64 arm hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc ~sparc-fbsd x86 ~x86-fbsd" |
14 |
KEYWORDS="alpha amd64 arm hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc ~sparc-fbsd x86 ~x86-fbsd" |
15 |
IUSE="X linguas_ja" |
15 |
IUSE="examples X linguas_ja" |
16 |
|
16 |
|
17 |
DEPEND=">=sys-apps/texinfo-4.7-r1 |
17 |
DEPEND=">=sys-apps/texinfo-4.7-r1 |
18 |
X? ( |
18 |
X? ( |
Lines 30-35
Link Here
|
30 |
|
30 |
|
31 |
epatch "${FILESDIR}"/${PN}-1.19.2-man-unicode-dashes.patch #16108 #17580 #121502 |
31 |
epatch "${FILESDIR}"/${PN}-1.19.2-man-unicode-dashes.patch #16108 #17580 #121502 |
32 |
|
32 |
|
|
|
33 |
# put the docs in the Gentoo-specific spot |
34 |
sed -i \ |
35 |
-e '/^docdir=/s/=.*/=@docdir@/' \ |
36 |
Makefile.in \ |
37 |
|| die "sed failed" |
38 |
|
33 |
# Make sure we can cross-compile this puppy |
39 |
# Make sure we can cross-compile this puppy |
34 |
if tc-is-cross-compiler ; then |
40 |
if tc-is-cross-compiler ; then |
35 |
sed -i \ |
41 |
sed -i \ |
Lines 59-64
Link Here
|
59 |
# tc-export CC CXX |
65 |
# tc-export CC CXX |
60 |
econf \ |
66 |
econf \ |
61 |
--with-appresdir=/usr/share/X11/app-defaults \ |
67 |
--with-appresdir=/usr/share/X11/app-defaults \ |
|
|
68 |
--docdir=/usr/share/doc/${PF} \ |
62 |
$(use_with X x) \ |
69 |
$(use_with X x) \ |
63 |
$(use linguas_ja && echo --enable-japanese) |
70 |
$(use linguas_ja && echo --enable-japanese) |
64 |
emake || die |
71 |
emake || die |
Lines 73-76
Link Here
|
73 |
|
80 |
|
74 |
dodoc BUG-REPORT ChangeLog MORE.STUFF NEWS \ |
81 |
dodoc BUG-REPORT ChangeLog MORE.STUFF NEWS \ |
75 |
PROBLEMS PROJECTS README REVISION TODO VERSION |
82 |
PROBLEMS PROJECTS README REVISION TODO VERSION |
|
|
83 |
|
84 |
if ! use examples ; then |
85 |
rm -rf "${D}"/usr/share/doc/${PF}/examples |
86 |
fi |
76 |
} |
87 |
} |