Bug 191973 - [patch] sysutils/consolekit fails to build because of incorrect LIB_DEPENDS update
Summary: [patch] sysutils/consolekit fails to build because of incorrect LIB_DEPENDS u...
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Some People
Assignee: freebsd-gnome (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-07-19 23:38 UTC by rkoberman
Modified: 2016-01-17 10:38 UTC (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.