Date: Sun, 13 Mar 2011 22:41:14 +0300 From: Anonymous <swell.k@gmail.com> To: FreeBSD-gnats-submit@freebsd.org Subject: ports/155539: [patch] multimedia/mkvtoolnix: build with ruby19 is broken Message-ID: <86r5aaizad.fsf@gmail.com> Resent-Message-ID: <201103131950.p2DJoAV6029980@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 155539 >Category: ports >Synopsis: [patch] multimedia/mkvtoolnix: build with ruby19 is broken >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Sun Mar 13 19:50:10 UTC 2011 >Closed-Date: >Last-Modified: >Originator: Anonymous >Release: FreeBSD 9.0-CURRENT amd64 >Organization: >Environment: RUBY_DEFAULT_VER=1.9 >Description: The port defines USE_RAKE without USE_RUBYGEMS which leads to RAKE_BIN that contains invalid value. >How-To-Repeat: $ make -V RAKE_BIN RUBY_VER=1.9 /bin/rake19 $ make [...] ===> Building for mkvtoolnix-4.5.0 env: /bin/rake19: No such file or directory *** Error code 127 >Fix: Below is a workaround --- a.diff begins here --- Index: Mk/bsd.ruby.mk =================================================================== RCS file: /a/.cvsup/ports/Mk/bsd.ruby.mk,v retrieving revision 1.203 diff -u -p -r1.203 bsd.ruby.mk --- Mk/bsd.ruby.mk 22 Nov 2010 05:47:07 -0000 1.203 +++ Mk/bsd.ruby.mk 13 Mar 2011 19:24:06 -0000 @@ -550,6 +550,8 @@ RUN_DEPENDS+= ${DEPEND_RUBY_ICONV} BUILD_DEPENDS+= ${LOCALBASE}/bin/rake:${PORTSDIR}/devel/rubygem-rake .if ${RUBY_VER} == 1.8 RAKE_BIN= ${LOCALBASE}/bin/rake +.elif !defined(GEM_LIB_DIR) +RAKE_BIN= ${LOCALBASE}/bin/rake${RUBY_VER:S/.//} .else RAKE_BIN= ${GEM_LIB_DIR}/bin/rake${RUBY_VER:S/.//} .endif --- a.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?86r5aaizad.fsf>