[PATCH] graphics/libchamplain: disable g-ir-scanner cache, support staging

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


>Submitter-Id:	current-users
>Originator:	Dmitry Marakasov
>Organization:	
>Confidential:	no 
>Synopsis:	[PATCH] graphics/libchamplain: 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
- Use new LIB_DEPENDS syntax
- Convert USE_GMAKE to USES
- Support staging

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:

--- libchamplain-0.8.1_3.patch begins here ---
Index: Makefile
===================================================================
--- Makefile	(revision 340395)
+++ Makefile	(working copy)
@@ -12,23 +12,22 @@
 COMMENT=	A C library provides a Gtk+ widget to display rasterized maps/markers
 
 BUILD_DEPENDS=	g-ir-scanner:${PORTSDIR}/devel/gobject-introspection
-LIB_DEPENDS=	clutter-gtk-0.10:${PORTSDIR}/graphics/clutter-gtk \
-		soup-gnome-2.4:${PORTSDIR}/devel/libsoup-gnome
+LIB_DEPENDS=	libclutter-gtk-0.10.so:${PORTSDIR}/graphics/clutter-gtk \
+		libsoup-gnome-2.4.so:${PORTSDIR}/devel/libsoup-gnome
 RUN_DEPENDS=	g-ir-scanner:${PORTSDIR}/devel/gobject-introspection
 
 USE_BZIP2=	yes
-USES=		pathfix pkgconfig
+USES=		pathfix pkgconfig gmake
 USE_GNOME=	gnomeprefix gtk20 ltverhack:1
 USE_SQLITE=	3
 USE_AUTOTOOLS=	libtool
 USE_GL=		gl
-USE_GMAKE=	yes
 GNU_CONFIGURE=	yes
 USE_LDCONFIG=	yes
 CPPFLAGS+=	-I${LOCALBASE}/include
 LDFLAGS+=	-L${LOCALBASE}/lib
+MAKE_ENV=	GI_SCANNER_DISABLE_CACHE=yes
 
 PLIST_SUB=	VERSION=0.8
 
-NO_STAGE=	yes
 .include <bsd.port.mk>
--- libchamplain-0.8.1_3.patch ends here ---



More information about the freebsd-gnome mailing list