Date: Fri, 14 Oct 2005 21:00:45 GMT From: Jonathan Weiss <jw@innerewut.de> To: freebsd-gnats-submit@FreeBSD.org Subject: ports/87460: Fix to problems with non-standard named gems Message-ID: <200510142100.j9EL0jY1040069@www.freebsd.org> Resent-Message-ID: <200510142110.j9ELAG4v083185@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 87460 >Category: ports >Synopsis: Fix to problems with non-standard named gems >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Fri Oct 14 21:10:16 GMT 2005 >Closed-Date: >Last-Modified: >Originator: Jonathan Weiss >Release: 6.0-RC1 >Organization: >Environment: FreeBSD xxxx 6.0-RC1 FreeBSD 6.0-RC1 #0: Tue Oct 11 23:19:36 CEST 2005 root@bsd:/usr/obj/usr/src/sys/GENERIC i386 >Description: If the distfile of a rubygem is not exactely named like the portname, installation will fail. Therefore the distname must be used for installation. >How-To-Repeat: Use the following patch (http://blog.innerewut.de/files/patches/ruby-gems.patch): diff -ru ruby-gems/Makefile.common ruby-gems.mine/Makefile.common --- ruby-gems/Makefile.common Fri Aug 5 17:42:20 2005 +++ ruby-gems.mine/Makefile.common Fri Oct 14 17:44:48 2005 @@ -34,4 +34,4 @@ RUBYGEMBIN= ${LOCALBASE}/bin/gem do-install: - ${RUBYGEMBIN} install --install-dir ${PREFIX}/lib/ruby/gems/${REV} ${DISTDIR}/${DIST_SUBDIR}/${PORTNAME}-${PORTVERSION}${EXTRACT_SUFX} + ${RUBYGEMBIN} install --install-dir ${PREFIX}/lib/ruby/gems/${REV} ${DISTDIR}/${DIST_SUBDIR}/${DISTNAME}${EXTRACT_SUFX} >Fix: install the patch from http://blog.innerewut.de/files/patches/ruby-gems.patch >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200510142100.j9EL0jY1040069>