From f74dca784953a1da9f799c6d73f5392891314810 Mon Sep 17 00:00:00 2001 From: Bryan Drewery Date: Thu, 21 Aug 2014 03:06:22 +0000 Subject: [PATCH] MFH: r365528 - Remove unneeded LIB_DEPENDS for avahi. padevchooser does not link directly to avahi. Pulseaudio links directly to it and already depends on it. Pkg only considers library dependencies for DT_NEEDED links. Because avahi is not actually needed it is not registered as a dependency in the package. This causes poudriere to rebuild this port on every build because it sees avahi in LIB_DEPENDS but not registered in the package. ldd(1) shows the indirect dependency on avahi, however the direct deps can be seen with ldd -a or readelf -d. With hat: portmgr --- audio/padevchooser/Makefile | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/audio/padevchooser/Makefile b/audio/padevchooser/Makefile index 29e49016e2dc..1fa9f6f83c26 100644 --- a/audio/padevchooser/Makefile +++ b/audio/padevchooser/Makefile @@ -3,7 +3,7 @@ PORTNAME= padevchooser PORTVERSION= 0.9.3 -PORTREVISION= 6 +PORTREVISION= 7 CATEGORIES= audio MASTER_SITES= http://0pointer.de/lennart/projects/${PORTNAME}/ @@ -12,8 +12,7 @@ COMMENT= GTK icon tray for PulseAudio LIB_DEPENDS= libglademm-2.4.so:${PORTSDIR}/devel/libglademm24 \ libpulse.so:${PORTSDIR}/audio/pulseaudio \ - libnotify.so:${PORTSDIR}/devel/libnotify \ - libavahi-core.so:${PORTSDIR}/net/avahi + libnotify.so:${PORTSDIR}/devel/libnotify RUN_DEPENDES= dbus-daemon:${PORTSDIR}/devel/dbus GNU_CONFIGURE= yes