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

Dmitry Marakasov amdmi3 at amdmi3.ru
Tue Jan 28 23:13:31 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.

--- libwnck.patch begins here ---
Index: Makefile
===================================================================
--- Makefile	(revision 341493)
+++ Makefile	(working copy)
@@ -16,12 +16,10 @@
 
 .if !defined(REFERENCE_PORT)
 
-BUILD_DEPENDS=	g-ir-scanner:${PORTSDIR}/devel/gobject-introspection
-RUN_DEPENDS=	g-ir-scanner:${PORTSDIR}/devel/gobject-introspection
-
 USE_XORG=	xres
 USES=		bison pathfix gettext gmake pkgconfig
-USE_GNOME=	gtk20 ltverhack referencehack intlhack
+USE_GNOME=	gtk20 ltverhack referencehack intlhack \
+		introspection:build,run
 USE_LDCONFIG=	yes
 USE_AUTOTOOLS=	libtool
 CONFIGURE_ARGS=	--with-html-dir=${PREFIX}/share/doc
@@ -32,16 +30,9 @@
 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.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