Bug 191973

Summary: [patch] sysutils/consolekit fails to build because of incorrect LIB_DEPENDS update
Product: Ports & Packages Reporter: rkoberman
Component: Individual Port(s)Assignee: freebsd-gnome (Nobody) <gnome>
Status: Closed FIXED    
Severity: Affects Some People CC: miwi
Priority: ---    
Version: Latest   
Hardware: Any   
OS: Any   

Description rkoberman 2014-07-19 23:38:58 UTC
sysutils/consolekit was updated to the new LIB_DEPENDS format, but polkit-gobject was not updated, making the port unbuildable.

--- Makefile.orig	2014-07-19 16:32:32.000000000 -0700
+++ Makefile	2014-07-19 16:33:57.000000000 -0700
@@ -11,7 +11,7 @@
 COMMENT=	Framework for defining and tracking users
 
 LIB_DEPENDS=	libdbus-glib-1.so:${PORTSDIR}/devel/dbus-glib \
-		polkit-gobject-1.0:${PORTSDIR}/sysutils/polkit
+		libpolkit-gobject-1.so:${PORTSDIR}/sysutils/polkit
 
 WRKSRC=		${WRKDIR}/ConsoleKit-${PORTVERSION}
 USE_BZIP2=	yes

Note that this patch also eliminates the requirement for polkit-gobject-1 to be version 0. I don't see a reason for the ".0", but it does make a functional change port, so might not be the right choice. I do know that putting version numbers in LIB_DEPENDS is usually wrong, but I don't know if this is such a case.
Comment 1 John Marino freebsd_committer freebsd_triage 2014-07-20 14:30:46 UTC
over to maintainer
Comment 2 Martin Wilke freebsd_committer freebsd_triage 2016-01-17 10:38:26 UTC
Fixed in 2014.