Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 29576
Collapse All | Expand All

(-)/usr/portage/app-text/htmldoc/htmldoc-1.8.23.ebuild (-10 / +14 lines)
Lines 6-18 Link Here
6
SRC_URI="ftp://ftp.easysw.com/pub/${PN}/${PV}/${P}-source.tar.bz2"
6
SRC_URI="ftp://ftp.easysw.com/pub/${PN}/${PV}/${P}-source.tar.bz2"
7
HOMEPAGE="http://www.easysw.com/htmldoc/"
7
HOMEPAGE="http://www.easysw.com/htmldoc/"
8
8
9
IUSE="X ssl fltk"
10
9
SLOT="0"
11
SLOT="0"
10
LICENSE="GPL-2"
12
LICENSE="GPL-2"
11
KEYWORDS="x86 ~sparc ~ppc ~alpha"
13
KEYWORDS="~x86 ~sparc ~ppc ~alpha"
12
14
13
DEPEND="virtual/x11"
15
DEPEND="X? ( virtual/x11 )"
14
RDEPEND=">=dev-libs/openssl-0.9.6e
16
RDEPEND="ssl? ( >=dev-libs/openssl-0.9.6e )
15
	>=x11-libs/fltk-1.0.11"
17
		fltk? >=x11-libs/fltk-1.0.11"
16
18
17
src_unpack() {
19
src_unpack() {
18
	unpack ${A}
20
	unpack ${A}
Lines 22-35 Link Here
22
}
24
}
23
25
24
src_compile() {
26
src_compile() {
25
	econf \
27
	local myconf
26
		--with-x \
28
	use X && myconf="--with-x"
27
		--with-gui \
29
	use fltk && myconf="${myconf} --with-gui"
28
		--with-openssl-libs=/usr/lib \
30
	use ssl && myconf="${myconf} --with-openssl-libs=/usr/lib \
29
		--with-openssl-includes=/usr/include/openssl
31
		--with-openssl-includes=/usr/include/openssl"
32
33
	econf ${myconf}
30
34
31
	# Add missing -lfltk_images to LIBS
35
	# Add missing -lfltk_images to LIBS
32
	sed -i 's/-lfltk /-lfltk -lfltk_images /g' \
36
	use fltk && sed -i 's/-lfltk /-lfltk -lfltk_images /g' \
33
		Makedefs || die "failed to detect -lfltk"
37
		Makedefs || die "failed to detect -lfltk"
34
38
35
	make || die
39
	make || die

Return to bug 29576