ports/185912: [PATCH] sysutils/upower: disable g-ir-scanner cache
Dmitry Marakasov
amdmi3 at amdmi3.ru
Mon Jan 20 14:10:01 UTC 2014
>Number: 185912
>Category: ports
>Synopsis: [PATCH] sysutils/upower: disable g-ir-scanner cache
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: change-request
>Submitter-Id: current-users
>Arrival-Date: Mon Jan 20 14:10:00 UTC 2014
>Closed-Date:
>Last-Modified:
>Originator: Dmitry Marakasov
>Release: FreeBSD 10.0-RELEASE amd64
>Organization:
>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 ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list