Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 2 Aug 2011 08:14:41 -0600
From:      Chris Torek <chris.torek@gmail.com>
To:        freebsd-ports@freebsd.org
Subject:   PackageKit apparently depends on lzma
Message-ID:  <CAPx1GvdRy9Nv4uoVb%2B1OoaRa2T0Sx=27UcbLGROtzUet=E_BPA@mail.gmail.com>

next in thread | raw e-mail | index | archive | help
(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@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
\



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAPx1GvdRy9Nv4uoVb%2B1OoaRa2T0Sx=27UcbLGROtzUet=E_BPA>