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

(-)./xemacs-21.4.19.ebuild.orig (-4 / +6 lines)
Lines 12-24 Link Here
12
LICENSE="GPL-2"
12
LICENSE="GPL-2"
13
SLOT="0"
13
SLOT="0"
14
KEYWORDS="~alpha ~amd64 ~hppa ~ppc ~ppc64 ~sparc ~x86"
14
KEYWORDS="~alpha ~amd64 ~hppa ~ppc ~ppc64 ~sparc ~x86"
15
IUSE="gpm postgres ldap xface nas dnd X jpeg tiff png mule motif freewnn canna athena neXt Xaw3d berkdb"
15
IUSE="gpm postgres ldap xface nas dnd X jpeg tiff png mule motif freewnn canna athena neXt Xaw3d berkdb gdbm"
16
16
17
X_DEPEND="x11-libs/libXt x11-libs/libXmu x11-libs/libXext"
17
X_DEPEND="x11-libs/libXt x11-libs/libXmu x11-libs/libXext"
18
18
19
DEPEND="virtual/libc
19
DEPEND="virtual/libc
20
	!virtual/xemacs
20
	!virtual/xemacs
21
	berkdb? ( =sys-libs/db-1* >=sys-libs/gdbm-1.8.0 )
21
	berkdb? ( =sys-libs/db-4* )
22
	gdbm? ( >=sys-libs/gdbm-1.8.0 )
22
	>=sys-libs/zlib-1.1.4
23
	>=sys-libs/zlib-1.1.4
23
	>=dev-libs/openssl-0.9.6
24
	>=dev-libs/openssl-0.9.6
24
	>=media-libs/audiofile-0.2.3
25
	>=media-libs/audiofile-0.2.3
Lines 132-140 Link Here
132
133
133
	myconf="${myconf} --with-sound=${soundconf}"
134
	myconf="${myconf} --with-sound=${soundconf}"
134
135
135
	local dbconf="gnudbm"
136
	if use berkdb; then
136
	if use berkdb; then
137
		myconf="${myconf} --with-database=${dbconf}"
137
		myconf="${myconf} --with-database=berkdb --libs=-ldb"
138
	elif use gdbm; then
139
		myconf="${myconf} --with-database=gnudbm"
138
	else
140
	else
139
		myconf="${myconf} --without-database"
141
		myconf="${myconf} --without-database"
140
	fi
142
	fi

Return to bug 102540