svn commit: r349460 - in head/math: ruby-fftw3 rubygem-narray

Steve Wills swills at FreeBSD.org
Fri Mar 28 20:41:24 UTC 2014


Author: swills
Date: Fri Mar 28 20:41:23 2014
New Revision: 349460
URL: http://svnweb.freebsd.org/changeset/ports/349460
QAT: https://qat.redports.org/buildarchive/r349460/

Log:
  - Avoid calling make while building
  
  Requested by:	marino

Added:
  head/math/rubygem-narray/Makefile.version   (contents, props changed)
Modified:
  head/math/ruby-fftw3/Makefile
  head/math/rubygem-narray/Makefile

Modified: head/math/ruby-fftw3/Makefile
==============================================================================
--- head/math/ruby-fftw3/Makefile	Fri Mar 28 20:40:25 2014	(r349459)
+++ head/math/ruby-fftw3/Makefile	Fri Mar 28 20:41:23 2014	(r349460)
@@ -25,10 +25,7 @@ RUN_DEPENDS:=	${BUILD_DEPENDS}
 USE_RUBY=	yes
 USE_RUBY_EXTCONF=	yes
 
-RUBY_NARRAY_VERSION!=	${MAKE} -C ${PORTSDIR}/math/rubygem-narray -V PORTVERSION
-RUBY_NARRAY_PKGNAME=	narray-${RUBY_NARRAY_VERSION}
-
-CONFIGURE_ARGS+=	--with-narray-include=${LOCALBASE}/lib/ruby/gems/${RUBY_VER}/gems/${RUBY_NARRAY_PKGNAME}/
+CONFIGURE_ARGS+=	--with-narray-include=${LOCALBASE}/lib/ruby/gems/${RUBY_VER}/gems/narray-${NARRAY_VERSION}/
 
 DOCS=		LICENSE.txt doc/*
 
@@ -38,4 +35,6 @@ post-install:
 	${INSTALL_DATA} ${WRKSRC}/${f} ${STAGEDIR}${RUBY_MODDOCDIR}/
 .endfor
 
+.include "${.CURDIR}/../rubygem-narray/Makefile.version"
+
 .include <bsd.port.mk>

Modified: head/math/rubygem-narray/Makefile
==============================================================================
--- head/math/rubygem-narray/Makefile	Fri Mar 28 20:40:25 2014	(r349459)
+++ head/math/rubygem-narray/Makefile	Fri Mar 28 20:41:23 2014	(r349460)
@@ -2,7 +2,7 @@
 # $FreeBSD$
 
 PORTNAME=	narray
-PORTVERSION=	0.6.0.8
+PORTVERSION=	${NARRAY_VERSION}
 CATEGORIES=	math rubygems
 MASTER_SITES=	RG
 
@@ -14,4 +14,6 @@ USE_RAKE=	yes
 USE_RUBYGEMS=	yes
 RUBYGEM_AUTOPLIST=	yes
 
+.include "${.CURDIR}/Makefile.version"
+
 .include <bsd.port.mk>

Added: head/math/rubygem-narray/Makefile.version
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/math/rubygem-narray/Makefile.version	Fri Mar 28 20:41:23 2014	(r349460)
@@ -0,0 +1 @@
+NARRAY_VERSION=	0.6.0.8


More information about the svn-ports-all mailing list