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

Collapse All | Expand All

(-)/home/flame/devel/gentoo-x86/dev-libs/libusb/libusb-0.1.11.ebuild (-6 / +11 lines)
Lines 15-32 Link Here
15
15
16
RDEPEND=""
16
RDEPEND=""
17
17
18
DEPEND="sys-devel/libtool
18
DEPEND="doc? ( app-text/openjade
19
	doc? ( app-text/openjade
19
		app-text/docbook-dsssl-stylesheets
20
		~app-text/docbook-sgml-dtd-4.2 )"
20
		~app-text/docbook-sgml-dtd-4.2 )"
21
21
22
src_unpack() {
22
src_unpack() {
23
	unpack ${A}
23
	unpack ${A}
24
	cd ${S}
24
	cd ${S}
25
	sed -i -e 's:-Werror::' Makefile.am
25
	sed -i -e 's:-Werror::' Makefile.am
26
27
	epatch "${FILESDIR}/${P}-fbsd-hid.patch"
28
29
	eautoreconf
30
31
	elibtoolize
26
}
32
}
27
33
28
src_compile() {
34
src_compile() {
29
	elibtoolize
30
	econf \
35
	econf \
31
		$(use_enable debug debug all) \
36
		$(use_enable debug debug all) \
32
		$(use_enable doc build-docs) \
37
		$(use_enable doc build-docs) \
Lines 35-44 Link Here
35
}
40
}
36
41
37
src_install() {
42
src_install() {
38
	make DESTDIR=${D} install || die
43
	make DESTDIR=${D} install || die "make install failed"
39
	dodoc AUTHORS NEWS README || die
44
	dodoc AUTHORS NEWS README || die "dodoc failed"
40
	if use doc; then
45
	if use doc; then
41
		dohtml doc/html/*.html || die
46
		dohtml doc/html/*.html || die "dohtml failed"
42
	fi
47
	fi
43
}
48
}
44
49

Return to bug 128937