ports/185912: [PATCH] sysutils/upower: disable g-ir-scanner cache

Dmitry Marakasov amdmi3 at amdmi3.ru
Tue Jan 28 23:08:09 UTC 2014


* Dmitry Marakasov (amdmi3 at amdmi3.ru) wrote:

Updated patch, which makes use of USE_GNOME=introspection to take 
care of environement for g-ir-scanner automatically.

--- upower.patch begins here ---
Index: Makefile
===================================================================
--- Makefile	(revision 341493)
+++ Makefile	(working copy)
@@ -11,16 +11,14 @@
 MAINTAINER=	gnome at FreeBSD.org
 COMMENT=	D-Bus daemon for simplifying power management tasks
 
-BUILD_DEPENDS=	g-ir-scanner:${PORTSDIR}/devel/gobject-introspection
-LIB_DEPENDS=	polkit-gobject-1.0:${PORTSDIR}/sysutils/polkit \
-    		dbus-glib-1.2:${PORTSDIR}/devel/dbus-glib
-RUN_DEPENDS=	${LOCALBASE}/lib/girepository-1.0/GObject-2.0.typelib:${PORTSDIR}/devel/gobject-introspection
+LIB_DEPENDS=	libpolkit-gobject-1.so:${PORTSDIR}/sysutils/polkit \
+    		libdbus-glib-1.so:${PORTSDIR}/devel/dbus-glib
 
 LICENSE=	GPLv2
 LICENSE_FILE=	${WRKSRC}/COPYING
 USES=		gettext gmake pkgconfig
 USE_BZIP2=	yes
-USE_GNOME=	gnomehack intlhack ltverhack glib20
+USE_GNOME=	gnomehack intlhack ltverhack glib20 introspection:build,run
 USE_AUTOTOOLS=	libtool
 USE_LDCONFIG=	yes
 USE_PYTHON=	yes
--- upower.patch ends here ---

-- 
Dmitry Marakasov   .   55B5 0596 FF1E 8D84 5F56  9510 D35A 80DD F9D2 F77D
amdmi3 at amdmi3.ru  ..:  jabber: amdmi3 at jabber.ru    http://www.amdmi3.ru


More information about the freebsd-gnome mailing list