Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 22 Jan 2014 23:32:27 +0000 (UTC)
From:      Dmitry Marakasov <amdmi3@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r340748 - head/devel/librest
Message-ID:  <201401222332.s0MNWRLS020650@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201401222332.s0MNWRLS020650>