From murashin@gfd-dennou.org  Thu Mar 27 09:08:44 2014
Return-Path: <murashin@gfd-dennou.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1])
	(using TLSv1 with cipher ADH-AES256-SHA (256/256 bits))
	(No client certificate requested)
	by hub.freebsd.org (Postfix) with ESMTPS id A8E4D214
	for <freebsd-gnats-submit@freebsd.org>; Thu, 27 Mar 2014 09:08:44 +0000 (UTC)
Received: from dennou-k.gfd-dennou.org (studenno.kugi.kyoto-u.ac.jp [130.54.59.159])
	by mx1.freebsd.org (Postfix) with SMTP id 23C032A6
	for <freebsd-gnats-submit@freebsd.org>; Thu, 27 Mar 2014 09:08:43 +0000 (UTC)
Received: (qmail 11494 invoked by uid 0); 27 Mar 2014 18:08:42 +0900
Received: from unknown (HELO localhost) (125.4.234.249)
	by studenno.kugi.kyoto-u.ac.jp with (RC4-SHA encrypted) SMTP; Thu, 27 Mar 2014 18:08:42 +0900
Message-Id: <20140327.180726.318865095.murashin@gfd-dennou.org>
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: [maintainer] math/ruby-fftw3: change dependency.

>Number:         188012
>Category:       ports
>Synopsis:       [maintainer] math/ruby-fftw3: change dependency.
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    swills
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Thu Mar 27 09:10:00 UTC 2014
>Closed-Date:    Fri Mar 28 20:22:50 UTC 2014
>Last-Modified:  Fri Mar 28 20:30:00 UTC 2014
>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:
Responsible-Changed-From-To: freebsd-ports-bugs->swills 
Responsible-Changed-By: edwin 
Responsible-Changed-When: Thu Mar 27 09:10:04 UTC 2014 
Responsible-Changed-Why:  
swills@ wants this submitter's PRs (via the GNATS Auto Assign Tool) 

http://www.freebsd.org/cgi/query-pr.cgi?pr=188012 
State-Changed-From-To: open->closed 
State-Changed-By: swills 
State-Changed-When: Fri Mar 28 20:22:49 UTC 2014 
State-Changed-Why:  
Committed, with minor changes. Thanks! 

http://www.freebsd.org/cgi/query-pr.cgi?pr=188012 

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: ports/188012: commit references a PR
Date: Fri, 28 Mar 2014 20:22:34 +0000 (UTC)

 Author: swills
 Date: Fri Mar 28 20:22:31 2014
 New Revision: 349458
 URL: http://svnweb.freebsd.org/changeset/ports/349458
 QAT: https://qat.redports.org/buildarchive/r349458/
 
 Log:
   - Use rubygem-narray for dependency instead of ruby-narray [1]
   - Use new LIB_DEPENDS format
   - Cleanup pkg-descr
   
   PR:		ports/188012 [1]
   Submitted by:	Shin-ya Murakami <murashin@gfd-dennou.org> [1]
 
 Modified:
   head/math/ruby-fftw3/Makefile
   head/math/ruby-fftw3/pkg-descr
 
 Modified: head/math/ruby-fftw3/Makefile
 ==============================================================================
 --- head/math/ruby-fftw3/Makefile	Fri Mar 28 20:00:52 2014	(r349457)
 +++ head/math/ruby-fftw3/Makefile	Fri Mar 28 20:22:31 2014	(r349458)
 @@ -3,7 +3,7 @@
  
  PORTNAME=	fftw3
  PORTVERSION=	0.4
 -PORTREVISION=	2
 +PORTREVISION=	3
  CATEGORIES=	math ruby
  MASTER_SITES=	http://ruby.gfd-dennou.org/products/ruby-fftw3/release/ \
  		http://dennou-h.gfd-dennou.org/library/ruby/products/ruby-fftw3/release/ \
 @@ -18,13 +18,18 @@ COMMENT=	A Ruby interface to the FFTW ve
  LICENSE=	BSD
  LICENSE_FILE=	${WRKSRC}/LICENSE.txt
  
 -LIB_DEPENDS=	fftw3:${PORTSDIR}/math/fftw3
 -BUILD_DEPENDS=	${RUBY_SITEARCHLIBDIR}/narray.so:${PORTSDIR}/math/ruby-narray
 +LIB_DEPENDS=	libfftw3.so:${PORTSDIR}/math/fftw3
 +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:
 
 Modified: head/math/ruby-fftw3/pkg-descr
 ==============================================================================
 --- head/math/ruby-fftw3/pkg-descr	Fri Mar 28 20:00:52 2014	(r349457)
 +++ head/math/ruby-fftw3/pkg-descr	Fri Mar 28 20:22:31 2014	(r349458)
 @@ -1,4 +1,3 @@
 -Ruby bindins for Fast Fourier Transforms by using FFTW Ver.3.
 +Ruby bindings for Fast Fourier Transforms by using FFTW Ver.3.
  
 -Author:	Takeshi Horinouchi <horinout _at_ ees.hokudai.ac.jp>
 -WWW:	http://ruby.gfd-dennou.org/products/ruby-fftw3/
 +WWW: http://ruby.gfd-dennou.org/products/ruby-fftw3/
 _______________________________________________
 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"
 
>Unformatted:
