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

Dmitry Marakasov amdmi3 at amdmi3.ru
Mon Jan 20 14:01:10 UTC 2014


>Submitter-Id:	current-users
>Originator:	Dmitry Marakasov
>Organization:	
>Confidential:	no 
>Synopsis:	[PATCH] sysutils/upower: disable g-ir-scanner cache
>Severity:	non-critical
>Priority:	low
>Category:	ports 
>Class:		change-request
>Release:	FreeBSD 10.0-RELEASE amd64
>Environment:
System: FreeBSD hades.panopticon 10.0-RELEASE FreeBSD 10.0-RELEASE #0 r260807: Fri Jan 17 13:14:28 MSK
>Description:
- Disable g-ir-scanner cache to not pollute /root/.cache on build
- Use new LIB_DEPENDS syntax

Port maintainer (gnome at FreeBSD.org) is cc'd.

Generated with FreeBSD Port Tools 0.99_11 (mode: change, diff: SVN)
>How-To-Repeat:
>Fix:

--- upower-0.9.7_2.patch begins here ---
Index: Makefile
===================================================================
--- Makefile	(revision 340395)
+++ Makefile	(working copy)
@@ -12,8 +12,8 @@
 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
+LIB_DEPENDS=	libpolkit-gobject-1.so:${PORTSDIR}/sysutils/polkit \
+    		libdbus-glib-1.so:${PORTSDIR}/devel/dbus-glib
 RUN_DEPENDS=	${LOCALBASE}/lib/girepository-1.0/GObject-2.0.typelib:${PORTSDIR}/devel/gobject-introspection
 
 LICENSE=	GPLv2
@@ -30,6 +30,7 @@
 CONFIGURE_ENV=	GTKDOC="false"
 CPPFLAGS+=	-I${LOCALBASE}/include
 LDFLAGS+=	-L${LOCALBASE}/lib
+MAKE_ENV=	GI_SCANNER_DISABLE_CACHE=yes
 
 .if defined(NO_INSTALL_MANPAGES)
 CONFIGURE_ARGS+=--disable-man-pages
--- upower-0.9.7_2.patch ends here ---



More information about the freebsd-gnome mailing list