[PATCH] x11-toolkits/libwnck: disable g-ir-scanner cache, support staging

Dmitry Marakasov amdmi3 at amdmi3.ru
Mon Jan 20 14:00:59 UTC 2014


>Submitter-Id:	current-users
>Originator:	Dmitry Marakasov
>Organization:	
>Confidential:	no 
>Synopsis:	[PATCH] x11-toolkits/libwnck: disable g-ir-scanner cache, support staging
>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
- Support staging
- Use new OPTIONS features

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:

--- libwnck-2.30.6_1.patch begins here ---
Index: Makefile
===================================================================
--- Makefile	(revision 340395)
+++ Makefile	(working copy)
@@ -27,21 +27,15 @@
 CONFIGURE_ARGS=	--with-html-dir=${PREFIX}/share/doc
 CPPFLAGS+=	-I${LOCALBASE}/include
 LDFLAGS+=	-L${LOCALBASE}/lib
+MAKE_ENV=	GI_SCANNER_DISABLE_CACHE=yes
 
 OPTIONS_DEFINE=	STARTUP
 OPTIONS_DEFAULT=STARTUP
 STARTUP_DESC=	Startup notification support
 
-NO_STAGE=	yes
-.include <bsd.port.options.mk>
+STARTUP_LIB_DEPENDS=	libstartup-notification-1.so:${PORTSDIR}/x11/startup-notification
+STARTUP_CONFIGURE_ENABLE=startup-notification
 
-.if ${PORT_OPTIONS:MSTARTUP}
-LIB_DEPENDS+=	startup-notification-1:${PORTSDIR}/x11/startup-notification
-CONFIGURE_ARGS+=--enable-startup-notification
-.else
-CONFIGURE_ARGS+=--disable-startup-notification
-.endif
-
 .include <bsd.port.mk>
 
 .endif
--- libwnck-2.30.6_1.patch ends here ---



More information about the freebsd-gnome mailing list