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

Collapse All | Expand All

(-)wvstreams-4.2.2-r1.ebuild.orig (-11 / +10 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 ~ppc ~sparc ~x86"
13
KEYWORDS="~alpha ~amd64 ~hppa ~ppc ~sparc ~x86"
14
IUSE="gtk qt qdbm pam slp doc tcltk debug"
14
IUSE="qt qdbm pam slp doc debug"
15
15
16
RDEPEND=">=sys-libs/db-3
16
RDEPEND=">=sys-libs/db-3
17
	>=sys-libs/zlib-1.1.4
17
	>=sys-libs/zlib-1.1.4
Lines 21-28 Link Here
21
	qdbm? ( dev-db/qdbm )
21
	qdbm? ( dev-db/qdbm )
22
	pam? ( >=sys-libs/pam-0.75 )
22
	pam? ( >=sys-libs/pam-0.75 )
23
	slp? ( >=net-libs/openslp-1.0.9a )
23
	slp? ( >=net-libs/openslp-1.0.9a )
24
	doc? ( app-doc/doxygen )
24
	doc? ( app-doc/doxygen )"
25
	tcltk? ( >=dev-lang/tcl-8.4 dev-lang/swig )"
26
25
27
DEPEND="${RDEPEND}
26
DEPEND="${RDEPEND}
28
	dev-util/pkgconfig
27
	dev-util/pkgconfig
Lines 35-44 Link Here
35
	epatch "${FILESDIR}/${P}-linux-serial.patch"
34
	epatch "${FILESDIR}/${P}-linux-serial.patch"
36
	epatch "${FILESDIR}/${P}-wireless-user.patch"
35
	epatch "${FILESDIR}/${P}-wireless-user.patch"
37
	epatch "${FILESDIR}/${P}-uniconfd-ini.patch"
36
	epatch "${FILESDIR}/${P}-uniconfd-ini.patch"
38
37
	epatch "${FILESDIR}/${P}-as-needed.patch"
39
	if use tcltk; then
40
		epatch "${FILESDIR}/${P}-tcl_8_4.patch"
41
	fi
42
38
43
	epatch "${FILESDIR}/${P}-external-xplc.patch"
39
	epatch "${FILESDIR}/${P}-external-xplc.patch"
44
	local XPLC_VER=`best_version dev-libs/xplc`
40
	local XPLC_VER=`best_version dev-libs/xplc`
Lines 51-64 Link Here
51
	use qt && epatch "${FILESDIR}/${P}-MOC-fix.patch"
47
	use qt && epatch "${FILESDIR}/${P}-MOC-fix.patch"
52
48
53
	ht_fix_file "${S}/configure.ac"
49
	ht_fix_file "${S}/configure.ac"
54
}
55
50
56
src_compile() {
51
	#needed by xplc and as-needed patch:
57
	env WANT_AUTOCONF=2.59 autoconf || die "autoconf failed" #needed by xplc and tcl patch
52
	cd "${S}"
53
	env WANT_AUTOCONF=2.59 autoconf || die "autoconf failed" 
58
	#without following, the makefile would remove some files and request 
54
	#without following, the makefile would remove some files and request 
59
	#you to run ./configure again
55
	#you to run ./configure again
60
	touch include/wvautoconf.h.in configure
56
	touch include/wvautoconf.h.in configure
57
}
61
58
59
src_compile() {
62
	local myconf
60
	local myconf
63
	if use qt; then
61
	if use qt; then
64
		myconf="--with-qt=/usr/qt/3/"
62
		myconf="--with-qt=/usr/qt/3/"
Lines 70-77 Link Here
70
		`use_with qdbm` \
68
		`use_with qdbm` \
71
		`use_with pam` \
69
		`use_with pam` \
72
		`use_with slp openslp` \
70
		`use_with slp openslp` \
73
		`use_with tcltk tcl` \
74
		`use_enable debug` \
71
		`use_enable debug` \
72
		--without-tcl \
73
		--without-swig \
75
		--with-xplc \
74
		--with-xplc \
76
		--enable-verbose \
75
		--enable-verbose \
77
		--with-bdb \
76
		--with-bdb \

Return to bug 132556