Bug 185910 - [PATCH] x11/keybinder: disable g-ir-scanner cache
Summary: [PATCH] x11/keybinder: disable g-ir-scanner cache
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Olivier Duchateau
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-01-20 14:10 UTC by Dmitry Marakasov
Modified: 2014-01-28 19:40 UTC (History)
1 user (show)

See Also:


Attachments
keybinder-0.3.0_1.patch (348 bytes, patch)
2014-01-20 14:10 UTC, Dmitry Marakasov
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Dmitry Marakasov 2014-01-20 14:10:00 UTC
- Disable g-ir-scanner cache to not pollute /root/.cache on build

Port maintainer (olivierd@FreeBSD.org) is cc'd.

Generated with FreeBSD Port Tools 0.99_11 (mode: change, diff: SVN)
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2014-01-20 14:10:08 UTC
Responsible Changed
From-To: freebsd-ports-bugs->olivierd

Over to maintainer (via the GNATS Auto Assign Tool)
Comment 2 Olivier Duchateau 2014-01-20 16:22:53 UTC
It's ok, feel free to commit

-- 
olivier
Comment 3 dfilter service freebsd_committer freebsd_triage 2014-01-28 19:38:53 UTC
Author: olivierd
Date: Tue Jan 28 19:38:45 2014
New Revision: 341648
URL: http://svnweb.freebsd.org/changeset/ports/341648
QAT: https://qat.redports.org/buildarchive/r341648/

Log:
  - Fix Python and Lua versions
  - Disable g-ir-scanner cache [1]
  
  PR:		185910
  Submitted by:	amdmi3@ [1]

Modified:
  head/x11/keybinder/Makefile

Modified: head/x11/keybinder/Makefile
==============================================================================
--- head/x11/keybinder/Makefile	Tue Jan 28 19:15:44 2014	(r341647)
+++ head/x11/keybinder/Makefile	Tue Jan 28 19:38:45 2014	(r341648)
@@ -9,15 +9,14 @@ MASTER_SITES=	GENTOO/distfiles
 MAINTAINER=	olivierd@FreeBSD.org
 COMMENT=	Library for registering keyboard shortcuts
 
-BUILD_DEPENDS=	g-ir-scanner:${PORTSDIR}/devel/gobject-introspection
-
 LICENSE=	GPLv2
 
 GNU_CONFIGURE=	yes
-USE_GNOME=	gtk20
+USE_GNOME=	gtk20 introspection
 USE_XORG=	x11 xext xrender
 USES=		gmake pkgconfig pathfix
 USE_LDCONFIG=	yes
+MAKE_ENV=	GI_SCANNER_DISABLE_CACHE=yes
 
 OPTIONS_DEFINE=	DOCS EXAMPLES PYTHON LUA
 OPTIONS_DEFAULT=	PYTHON
@@ -28,7 +27,7 @@ LUA_DESC=	Lua bindings
 .include <bsd.port.options.mk>
 
 .if ${PORT_OPTIONS:MPYTHON}
-USE_PYTHON=	yes
+USE_PYTHON=	2
 USE_GNOME+=	pygtk2
 PLIST_SUB+=	PYTHON=""
 .else
@@ -37,7 +36,7 @@ PLIST_SUB+=	PYTHON="@comment "
 .endif
 
 .if ${PORT_OPTIONS:MLUA}
-USE_LUA=	5.1+
+USE_LUA=	5.1
 CONFIGURE_ARGS+=	--with-lua-includes=${LUA_INCDIR}
 PLIST_SUB+=	LUA=""
 .else
@@ -58,7 +57,7 @@ PLIST_SUB+=	DOCS="@comment "
 
 post-install:
 .if ${PORT_OPTIONS:MEXAMPLES}
-	@${REINPLACE_CMD} -i '' -e 's|lua5.1|lua-5.1|g' ${WRKSRC}/examples/Makefile
+	@${REINPLACE_CMD} -i '' -e 's|lua5.1|lua-${LUA_VER}|g' ${WRKSRC}/examples/Makefile
 	@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
 	${INSTALL_DATA} ${WRKSRC}/examples/* ${STAGEDIR}${EXAMPLESDIR}
 .endif
_______________________________________________
svn-ports-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-ports-all
To unsubscribe, send any mail to "svn-ports-all-unsubscribe@freebsd.org"
Comment 4 Olivier Duchateau freebsd_committer freebsd_triage 2014-01-28 19:40:01 UTC
State Changed
From-To: open->closed

Committed. Thanks!