ports/188012: [maintainer] math/ruby-fftw3: change dependency.
Shin-ya Murakami
murashin at gfd-dennou.org
Thu Mar 27 09:10:01 UTC 2014
>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 at 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:
More information about the freebsd-ports-bugs
mailing list