Bug 87460

Summary: Fix to problems with non-standard named gems
Product: Ports & Packages Reporter: Jonathan Weiss <jw>
Component: Individual Port(s)Assignee: freebsd-ports-bugs (Nobody) <ports-bugs>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: Latest   
Hardware: Any   
OS: Any   

Description Jonathan Weiss 2005-10-14 22:10:16 UTC
If the distfile of a rubygem is not exactely named like the portname, installation will fail. Therefore the distname must be used for installation.

Fix: 

install the patch from http://blog.innerewut.de/files/patches/ruby-gems.patch
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}
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2005-10-16 02:48:28 UTC
State Changed
From-To: open->closed

FIxed with ports/87461