- Fix dependecy list, resolve dependency conflict

net/avahi will be read as net/avahi-app for core library. Also,
  with net/avahi-libdns installed, hardwrited dependency for mDNSReponder
  lead to conflicts, but KDE 4.1 can use avahi-loibdns instead.

PR:		126494
Submitted by:	Dima Panov <fluffy@fluffy.khv.ru>
This commit is contained in:
Martin Wilke 2008-08-13 09:01:35 +00:00
parent 333cb860b3
commit 449e72a0c6
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=218500

View File

@ -23,12 +23,11 @@ LIB_DEPENDS= searchclient:${PORTSDIR}/deskutils/strigi \
aspell:${PORTSDIR}/textproc/aspell \
jasper:${PORTSDIR}/graphics/jasper \
pcre:${PORTSDIR}/devel/pcre \
avahi-core:${PORTSDIR}/net/avahi \
avahi-core:${PORTSDIR}/net/avahi-app \
enchant.1:${PORTSDIR}/textproc/enchant \
ungif.5:${PORTSDIR}/graphics/libungif \
png.5:${PORTSDIR}/graphics/png \
jpeg:${PORTSDIR}/graphics/jpeg \
dns_sd:${PORTSDIR}/net/mDNSResponder \
idn:${PORTSDIR}/dns/libidn \
hal.1:${PORTSDIR}/sysutils/hal \
smbclient.0:${PORTSDIR}/net/samba-libsmbclient \
@ -40,6 +39,13 @@ RUN_DEPENDS= ${LOCALBASE}/share/icons/hicolor/index.theme:${PORTSDIR}/misc/hicol
# XXX: hebrew/hspell?
# XXX: gssapi/kerberos special handling?
.if exists(${LOCALBASE}/include/avahi-compat-libdns_sd/dns_sd.h) || defined(WITH_LIBDNS)
LIB_DEPENDS+= avahi-qt4:${PORTSDIR}/net/avahi-qt4 \
dns_sd:${PORTSDIR}/net/avahi-libdns
.else
LIB_DEPENDS+= dns_sd:${PORTSDIR}/net/mDNSResponder
.endif
CONFLICTS= qt4-phonon-4*
LATEST_LINK= ${PORTNAME}4