summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2018-11-25 22:24:37 +0100
committerMichał Górny <mgorny@gentoo.org>2018-11-25 22:42:58 +0100
commitd2f8d498eeb7980cd8ee427517b7862e8457c652 (patch)
treed477a568fba981203a6b5d38e642c94792aa08d5 /net-misc/minidlna
parentnet-misc/minidlna: Remove redundant econf args and dodoc (diff)
downloadgentoo-d2f8d498eeb7980cd8ee427517b7862e8457c652.tar.gz
gentoo-d2f8d498eeb7980cd8ee427517b7862e8457c652.tar.bz2
gentoo-d2f8d498eeb7980cd8ee427517b7862e8457c652.zip
net-misc/minidlna: Control avahi via cache override
Use autoconf cache variable override to disable avahi instead of patching the build system. Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'net-misc/minidlna')
-rw-r--r--net-misc/minidlna/minidlna-1.2.1-r1.ebuild11
1 files changed, 6 insertions, 5 deletions
diff --git a/net-misc/minidlna/minidlna-1.2.1-r1.ebuild b/net-misc/minidlna/minidlna-1.2.1-r1.ebuild
index 9fa0106ae8b9..5a9c0e66902d 100644
--- a/net-misc/minidlna/minidlna-1.2.1-r1.ebuild
+++ b/net-misc/minidlna/minidlna-1.2.1-r1.ebuild
@@ -30,8 +30,9 @@ DEPEND="${RDEPEND}
CONFIG_CHECK="~INOTIFY_USER"
-PATCHES=( "${WORKDIR}"/minidlna-gentoo-artwork.patch
- "${FILESDIR}"/${P}-buildsystem.patch )
+PATCHES=(
+ "${WORKDIR}"/minidlna-gentoo-artwork.patch
+)
src_prepare() {
sed -e "/log_dir/s:/var/log:/var/log/minidlna:" \
@@ -39,8 +40,6 @@ src_prepare() {
-i minidlna.conf || die
default
-
- eautoreconf
}
src_configure() {
@@ -48,10 +47,12 @@ src_configure() {
--with-db-path=/var/lib/minidlna
--with-log-path=/var/log/minidlna
--enable-tivo
- $(use_enable avahi)
$(use_enable netgear)
$(use_enable readynas)
)
+ use avahi || myconf+=(
+ ac_cv_lib_avahi_client_avahi_threaded_poll_new=no
+ )
econf "${myconf[@]}"
}