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

(-)/usr/portage/app-antivirus/clamav/clamav-0.99.2.ebuild (-3 / +12 lines)
Lines 13-26 Link Here
13
13
14
LICENSE="GPL-2"
14
LICENSE="GPL-2"
15
SLOT="0"
15
SLOT="0"
16
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~sparc-solaris ~x86-solaris"
16
KEYWORDS="~alpha amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~sparc-solaris ~x86-solaris"
17
IUSE="bzip2 clamdtop iconv ipv6 libressl milter metadata-analysis-api selinux static-libs uclibc"
17
IUSE="bzip2 clamdtop iconv ipv6 libressl milter metadata-analysis-api selinux static-libs uclibc system-llvm"
18
18
19
CDEPEND="bzip2? ( app-arch/bzip2 )
19
CDEPEND="bzip2? ( app-arch/bzip2 )
20
	clamdtop? ( sys-libs/ncurses:0 )
20
	clamdtop? ( sys-libs/ncurses:0 )
21
	iconv? ( virtual/libiconv )
21
	iconv? ( virtual/libiconv )
22
	metadata-analysis-api? ( dev-libs/json-c )
22
	metadata-analysis-api? ( dev-libs/json-c )
23
	milter? ( || ( mail-filter/libmilter mail-mta/sendmail ) )
23
	milter? ( || ( mail-filter/libmilter mail-mta/sendmail ) )
24
	system-llvm? ( sys-devel/llvm )
24
	dev-libs/libtommath
25
	dev-libs/libtommath
25
	>=sys-libs/zlib-1.2.2
26
	>=sys-libs/zlib-1.2.2
26
	!libressl? ( dev-libs/openssl:0= )
27
	!libressl? ( dev-libs/openssl:0= )
Lines 49-54 Link Here
49
}
50
}
50
51
51
src_configure() {
52
src_configure() {
53
54
	local myconf=(
55
		$(use_with system-llvm)
56
	)
57
	use system-llvm && use static-libs && myconf+=( --with-llvm-linking=static )
58
	use system-llvm && use !static-libs && myconf+=( --with-llvm-linking=dynamic )
59
52
	econf \
60
	econf \
53
		--disable-experimental \
61
		--disable-experimental \
54
		--disable-fanotify \
62
		--disable-fanotify \
Lines 62-68 Link Here
62
		$(use_enable milter) \
70
		$(use_enable milter) \
63
		$(use_enable static-libs static) \
71
		$(use_enable static-libs static) \
64
		$(use_with iconv) \
72
		$(use_with iconv) \
65
		$(use_with metadata-analysis-api libjson /usr)
73
		$(use_with metadata-analysis-api libjson /usr) \
74
		${myconf[@]}
66
}
75
}
67
76
68
src_install() {
77
src_install() {

Return to bug 460124