Date: Thu, 21 Aug 2014 20:29:20 +0000 (UTC) From: Steve Wills <swills@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r365595 - head/science/ruby-dcl Message-ID: <201408212029.s7LKTKIX069590@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: swills Date: Thu Aug 21 20:29:20 2014 New Revision: 365595 URL: http://svnweb.freebsd.org/changeset/ports/365595 QAT: https://qat.redports.org/buildarchive/r365595/ Log: science/ruby-dcl: fixed broken; use gcc PR: 190688 Submitted by: Shin-ya Murakami <murashin@gfd-dennou.org> (maintainer) Modified: head/science/ruby-dcl/Makefile Modified: head/science/ruby-dcl/Makefile ============================================================================== --- head/science/ruby-dcl/Makefile Thu Aug 21 20:23:11 2014 (r365594) +++ head/science/ruby-dcl/Makefile Thu Aug 21 20:29:20 2014 (r365595) @@ -3,7 +3,7 @@ PORTNAME= dcl PORTVERSION= 1.7.0 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= science graphics ruby MASTER_SITES= http://ruby.gfd-dennou.org/products/ruby-dcl/release/ \ http://dennou-h.gfd-dennou.org/library/ruby/products/ruby-dcl/release/ \ @@ -24,10 +24,10 @@ RUN_DEPENDS= ${LOCALBASE}/lib/libcdcl.so rubygem-gdk_pixbuf2>=2.1.0:${PORTSDIR}/graphics/rubygem-gdk_pixbuf2 \ rubygem-gtk2>=2.1.0:${PORTSDIR}/x11-toolkits/rubygem-gtk2 +USE_GCC= yes 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} +RUBY_NARRAY_PKGNAME= narray-${NARRAY_VERSION} CONFIGURE_ARGS+= --with-narray-include=${LOCALBASE}/lib/ruby/gems/${RUBY_VER}/gems/${RUBY_NARRAY_PKGNAME}/ MAKE_ARGS= INSTALL_PROG="${INSTALL_PROGRAM}" \ INSTALL_DATA="${INSTALL_DATA}" @@ -49,6 +49,11 @@ EXPIRATION_DATE= 2014-09-20 BROKEN= Does not build on ${ARCH} (Needs to link against shared libraries) .endif +post-configure: + @${REINPLACE_CMD} -e 's|CC = cc|CC = `${LOCALBASE}/bin/cdclconfig --cc`|g' ${WRKSRC}/Makefile + +.include "${.CURDIR}/../../math/rubygem-narray/Makefile.version" + post-install: ${MKDIR} ${STAGEDIR}${RUBY_MODEXAMPLESDIR} (cd ${WRKSRC}/demo/ && ${COPYTREE_SHARE} \* ${STAGEDIR}${RUBY_MODEXAMPLESDIR})
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201408212029.s7LKTKIX069590>