diff options
author | 2015-12-24 09:38:12 +0200 | |
---|---|---|
committer | 2015-12-24 09:38:12 +0200 | |
commit | 262d9d7e58d664c50b12bf84e9dbc97cc9cb4539 (patch) | |
tree | d4c54865700d618d9457aa93a8a2bec5565fc052 /net-mail/mailutils/mailutils-2.99.99.ebuild | |
parent | www-apache/passenger: add 5.0.23 (diff) | |
download | gentoo-262d9d7e58d664c50b12bf84e9dbc97cc9cb4539.tar.gz gentoo-262d9d7e58d664c50b12bf84e9dbc97cc9cb4539.tar.bz2 gentoo-262d9d7e58d664c50b12bf84e9dbc97cc9cb4539.zip |
Fix building with -tcpd USE flag (#569066)
Package-Manager: portage-2.2.26
Diffstat (limited to 'net-mail/mailutils/mailutils-2.99.99.ebuild')
-rw-r--r-- | net-mail/mailutils/mailutils-2.99.99.ebuild | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/net-mail/mailutils/mailutils-2.99.99.ebuild b/net-mail/mailutils/mailutils-2.99.99.ebuild index 16a9fecd7e94..aac4a572887f 100644 --- a/net-mail/mailutils/mailutils-2.99.99.ebuild +++ b/net-mail/mailutils/mailutils-2.99.99.ebuild @@ -48,7 +48,8 @@ RDEPEND="!mail-client/nmh DEPEND="${RDEPEND} virtual/pkgconfig" -REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )" +REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} ) + servers? ( tcpd )" pkg_setup() { use python && python-single-r1_pkg_setup @@ -58,10 +59,11 @@ src_prepare() { # Disable bytecompilation of Python modules. echo "#!/bin/sh" > build-aux/py-compile epatch "${FILESDIR}/${PN}-2.99.98-readline-6.3.patch" #503954 + epatch "${FILESDIR}/${PN}-tcp_wrappers.patch" if use mysql; then sed -i -e /^INCLUDES/"s:$:$(mysql_config --include):" \ sql/Makefile.am || die - eautoreconf + eautoreconf fi } @@ -90,6 +92,7 @@ src_configure() { $(use_enable threads pthread) \ $(use_with tokyocabinet) \ $(use_with kyotocabinet) \ + $(use_with tcpd tcp-wrappers) \ $(use_enable servers build-servers) \ $(use_enable clients build-clients) \ --with-mail-spool=/var/spool/mail \ |