Bug 185924 - [PATCH] devel/rest: disable g-ir-scanner cache, support staging
Summary: [PATCH] devel/rest: disable g-ir-scanner cache, support staging
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: freebsd-ports-bugs (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-01-20 14:10 UTC by Dmitry Marakasov
Modified: 2014-01-22 23:40 UTC (History)
1 user (show)

See Also:


Attachments
rest-0.7.90.patch (1.15 KB, 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:06 UTC
- Disable g-ir-scanner cache to not pollute /root/.cache on build
- Support staging
- Use new LIB_DEPENDS syntax
- Convert USE_GMAKE to USES

Port maintainer (cmt@burggraben.net) is cc'd.

Generated with FreeBSD Port Tools 0.99_11 (mode: change, diff: SVN)
Comment 1 Christoph Moench-Tegeder freebsd_committer freebsd_triage 2014-01-22 19:37:00 UTC
Hi,

that patch looks good for me, I approve :)

Thanks,
Christoph

-- 
Spare Space
Comment 2 dfilter service freebsd_committer freebsd_triage 2014-01-22 23:32:34 UTC
Author: amdmi3
Date: Wed Jan 22 23:32:26 2014
New Revision: 340748
URL: http://svnweb.freebsd.org/changeset/ports/340748
QAT: https://qat.redports.org/buildarchive/r340748/

Log:
  - Disable g-ir-scanner cache to not pollute /root/.cache on build
  - Support staging
  - Use new LIB_DEPENDS syntax
  - Convert USE_GMAKE to USES
  
  PR:		185924
  Submitted by:	amdmi3
  Approved by:	Christoph Moench-Tegeder <cmt@burggraben.net> (maintainer)

Modified:
  head/devel/librest/Makefile

Modified: head/devel/librest/Makefile
==============================================================================
--- head/devel/librest/Makefile	Wed Jan 22 23:21:56 2014	(r340747)
+++ head/devel/librest/Makefile	Wed Jan 22 23:32:26 2014	(r340748)
@@ -13,27 +13,24 @@ LICENSE=	LGPL21
 
 BUILD_DEPENDS=	g-ir-scanner:${PORTSDIR}/devel/gobject-introspection \
 		${LOCALBASE}/share/certs/ca-root-nss.crt:${PORTSDIR}/security/ca_root_nss
-LIB_DEPENDS=	soup-gnome-2.4:${PORTSDIR}/devel/libsoup-gnome
+LIB_DEPENDS=	libsoup-gnome-2.4.so:${PORTSDIR}/devel/libsoup-gnome
 RUN_DEPENDS=	${LOCALBASE}/share/certs/ca-root-nss.crt:${PORTSDIR}/security/ca_root_nss
 
-USES=		pkgconfig
+USES=		pkgconfig gmake
 USE_XZ=		yes
-USE_GMAKE=	yes
 GNU_CONFIGURE=	yes
 USE_LDCONFIG=	yes
 USE_GNOME=	gnomehack glib20 intlhack libxml2
+MAKE_ENV=	GI_SCANNER_DISABLE_CACHE=yes
 
 CONFIGURE_ARGS=	--with-ca-certificates=${LOCALBASE}/share/certs/ca-root-nss.crt
 
 PORTEXAMPLES=	*.c
 
-NO_STAGE=	yes
-.include <bsd.port.options.mk>
+OPTIONS_DEFINE=	EXAMPLES
 
-.if ${PORT_OPTIONS:MEXAMPLES}
 post-install:
-	@${MKDIR} ${EXAMPLESDIR}
-	${INSTALL_DATA} ${WRKSRC}/examples/*.c ${EXAMPLESDIR}
-.endif
+	@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
+	${INSTALL_DATA} ${WRKSRC}/examples/*.c ${STAGEDIR}${EXAMPLESDIR}
 
 .include <bsd.port.mk>
_______________________________________________
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 3 Dmitry Marakasov freebsd_committer freebsd_triage 2014-01-22 23:32:39 UTC
State Changed
From-To: open->closed

Committed. Thanks!