PackageKit apparently depends on lzma

Chris Torek chris.torek at gmail.com
Tue Aug 2 14:44:06 UTC 2011


(Note: I am totally new to FreeBSD ports and have no idea if I am sending this
to the right place.)

At least for FreeBSD 8.2-stable, the most recent PackageKit port requires that
the lzma port be installed -- it fails to link if you have not
installed the lzma port
(which itself requires a little hand-holding since it overrides the
base system's
"xz", which I'm not sure if that's OK either...).

My guess is that this should be listed in the LIB_DEPENDS line in
ports/ports-mgmt/packagekit/Makefile.

This diff (using cut and paste with gmail so blanks get expanded) seems to
work, but I don't really know if it is right.

Chris

Author: Chris Torek <chris.torek at gmail.com>
Date:   Tue Aug 2 08:12:04 2011 -0600

    depends on lzma

    PackageKit needs lzma installed (overriding base xz).  List
    this in the LIB_DEPENDS.

diff --git a/packagekit/Makefile b/packagekit/Makefile
index 519dd82..e842619 100644
--- a/packagekit/Makefile
+++ b/packagekit/Makefile
@@ -20,6 +20,7 @@ LIB_DEPENDS=	execinfo.1:${PORTSDIR}/devel/libexecinfo \
 		sqlite3.8:${PORTSDIR}/databases/sqlite3 \
 		dbus-glib-1:${PORTSDIR}/devel/dbus-glib \
 		polkit-gobject-1.0:${PORTSDIR}/sysutils/polkit \
+		lzma:${PORTSDIR}/archivers/lzma \
 		ck-connector.0:${PORTSDIR}/sysutils/consolekit
 RUN_DEPENDS=	lsof:${PORTSDIR}/sysutils/lsof \
 		${LOCALBASE}/share/gir-1.0/GLib-2.0.gir:${PORTSDIR}/devel/gobject-introspection
\


More information about the freebsd-ports mailing list