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

(-)portage/gnome-extra/mc/mc-4.5.55-r5.ebuild (-2 / +5 lines)
Lines 13-18 DEPEND="virtual/glibc Link Here
13
	>=sys-devel/automake-1.5d-r1
13
	>=sys-devel/automake-1.5d-r1
14
	gpm? ( >=sys-libs/gpm-1.19.3 )
14
	gpm? ( >=sys-libs/gpm-1.19.3 )
15
	pam? ( >=sys-libs/pam-0.72 )
15
	pam? ( >=sys-libs/pam-0.72 )
16
	ncurses? ( >=sys-libs/ncurses-5.2 )
16
	slang? ( >=sys-libs/slang-1.4.2 )
17
	slang? ( >=sys-libs/slang-1.4.2 )
17
	nls? ( sys-devel/gettext )
18
	nls? ( sys-devel/gettext )
18
	samba? ( >=net-fs/samba-2.2.3a-r1 )
19
	samba? ( >=net-fs/samba-2.2.3a-r1 )
Lines 30-37 src_compile() { Link Here
30
	use pam && myconf="${myconf} --with-pam"
31
	use pam && myconf="${myconf} --with-pam"
31
	use pam || myconf="${myconf} --without-pam"
32
	use pam || myconf="${myconf} --without-pam"
32
33
34
	use ncurses && myconf="${myconf} --with-ncurses" || ( \
33
	use slang && myconf="${myconf} --with-slang"
35
	use slang && myconf="${myconf} --with-slang"
34
	use slang || myconf="${myconf} --with-included-slang"
36
	use slang || myconf="${myconf} --with-included-slang"
37
	)
35
38
36
#currently broken
39
#currently broken
37
#	use gnome && myconf="${myconf} --with-gnome"
40
#	use gnome && myconf="${myconf} --with-gnome"
Lines 46-51 src_compile() { Link Here
46
	use X && myconf="${myconf} --with-tm-x-support"
49
	use X && myconf="${myconf} --with-tm-x-support"
47
	use X || myconf="${myconf} --without-tm-x-support"
50
	use X || myconf="${myconf} --without-tm-x-support"
48
51
52
	use samba && myconf="${myconf} --with-samba"
49
	use samba && ( \
53
	use samba && ( \
50
		cd ${S}/vfs
54
		cd ${S}/vfs
51
		cp smbfs.c smbfs.c.orig
55
		cp smbfs.c smbfs.c.orig
Lines 54-60 src_compile() { Link Here
54
		cp Makefile.in Makefile.in.orig
58
		cp Makefile.in Makefile.in.orig
55
		sed -e 's:$(LIBDIR)\(/codepages\):/var/lib/samba\1:' \
59
		sed -e 's:$(LIBDIR)\(/codepages\):/var/lib/samba\1:' \
56
			Makefile.in.orig > Makefile.in
60
			Makefile.in.orig > Makefile.in
57
		myconf="${myconf} --with-samba"
58
	)
61
	)
59
62
60
	cd ${S}
63
	cd ${S}
Lines 64-70 src_compile() { Link Here
64
#	autoconf
67
#	autoconf
65
	automake --add-missing
68
	automake --add-missing
66
69
67
	LDFLAGS="-lcrypt -lncurses" ./configure --host=${CHOST} 	 \
70
	./configure --host=${CHOST} 	 \
68
						--prefix=/usr		 \
71
						--prefix=/usr		 \
69
						--mandir=/usr/share/man	 \
72
						--mandir=/usr/share/man	 \
70
						--sysconfdir=/etc	 \
73
						--sysconfdir=/etc	 \

Return to bug 6795