Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 27 Mar 2014 18:07:26 +0900 (JST)
From:      Shin-ya Murakami <murashin@gfd-dennou.org>
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   ports/188012: [maintainer] math/ruby-fftw3: change dependency.
Message-ID:  <20140327.180726.318865095.murashin@gfd-dennou.org>
Resent-Message-ID: <201403270910.s2R9A0DN006611@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         188012
>Category:       ports
>Synopsis:       [maintainer] math/ruby-fftw3: change dependency.
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Thu Mar 27 09:10:00 UTC 2014
>Closed-Date:
>Last-Modified:
>Originator:     Shin-ya Murakami
>Release:        FreeBSD 11.0-CURRENT amd64
>Organization:
GFD-Dennou Club
>Environment:
System: FreeBSD phase 11.0-CURRENT FreeBSD 11.0-CURRENT #0 r263062: Sat Mar 15 02:00:48 JST 2014 murashin@phase:/usr/obj/usr/src/sys/PHASE amd64

>Description:
	- change dependency.
>How-To-Repeat:
	N/A
>Fix:

--- ruby-fftw3.diff begins here ---
diff -urN /usr/ports/math/ruby-fftw3/Makefile ruby-fftw3/Makefile
--- /usr/ports/math/ruby-fftw3/Makefile	2014-03-11 05:55:20.000000000 +0900
+++ ruby-fftw3/Makefile	2014-03-27 17:48:58.871723032 +0900
@@ -19,12 +19,17 @@
 LICENSE_FILE=	${WRKSRC}/LICENSE.txt
 
 LIB_DEPENDS=	fftw3:${PORTSDIR}/math/fftw3
-BUILD_DEPENDS=	${RUBY_SITEARCHLIBDIR}/narray.so:${PORTSDIR}/math/ruby-narray
+BUILD_DEPENDS=	rubygem-narray>=0:${PORTSDIR}/math/rubygem-narray
 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}/
+
 DOCS=		LICENSE.txt doc/*
 
 post-install:
--- ruby-fftw3.diff ends here ---


>Release-Note:
>Audit-Trail:
>Unformatted:



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